今天在cell上加了一个button,设了imagesecondButton.buttonType = UIButtonTypeCustom;[secondButton setImage:image_2 forState:UIControlStateNormal];但是点击上去无高亮效果,经查找发现...
分类:
其他好文 时间:
2014-07-09 22:21:30
阅读次数:
201
使用win8.1安装镜像制作wimboot启动 制作wim启动映像文件Dism /Export-Image /WIMBoot/SourceImageFile:z:\sources\install.wim /SourceIndex:1/DestinationImageFile:d:\wimboot.w...
iOS开发项目—07图片拉伸一、简单说明1.代码说明:图片处理代码:1 + (UIImage *)resizedImage:(NSString *)name2 {3 UIImage *image = [UIImage imageWithName:name];4 return [ima...
分类:
移动开发 时间:
2014-07-08 22:29:29
阅读次数:
321
Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do th...
分类:
其他好文 时间:
2014-07-08 22:06:25
阅读次数:
222
第1章 初识CSS3
CSS3课程列出第一站,先带领大家进入CSS3的世界,探索CSS3的魅力!你做好准备了吗?
第2章 边框
本课程主要讲解border-color 、border-image 、border-radius 及box-shadow 相关知识
第3章 颜色相关
学习CSS3中与颜色有关的属性,包括RGBA colors和Gradient,来实现在此...
分类:
Web程序 时间:
2014-07-08 20:49:19
阅读次数:
219
这
clc;
clear all;
Image=imread('9.jpg');
Image=double(Image);
Image_new=Image;
Image_new(:,:,1)=0.393*Image(:,:,1)+0.769*Image(:,:,2)+0.189*Image(:,:,3);
Image_new(:,:,2)=0.349*Image(:,...
分类:
其他好文 时间:
2014-07-08 20:04:34
阅读次数:
235
- (void)savePhotoToAlbum
{
ZoomScrollView *zoomScrollView = (ZoomScrollView*)[self.scrollView
viewWithTag:BEGIN_TAG_FOR_IMAGE+self.currentImagePage];
dispatch_async(dispatch_get_global_que...
分类:
移动开发 时间:
2014-07-08 19:34:27
阅读次数:
417
If you are not satisfied with default Google map Marker (Default google marker can only be a icon, image or shape),
for example adding a border, then you should use richmarker!
http://google-maps...
分类:
其他好文 时间:
2014-07-08 17:17:18
阅读次数:
386
第一:我们先看下质量压缩方法
private Bitmap compressImage(Bitmap image) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
image.compress(Bitmap.CompressFormat.JPEG, 100, baos);//质量压...
分类:
移动开发 时间:
2014-07-08 16:14:32
阅读次数:
157
//首先,获取数据库的路径,(如果不存在,就是我们想要存储的路径),不用担心每次都创建数据库会重复,不会的,如果没有则创建,有了就不会再重复创建;
//接下来,我们要制表,首先我们先查看我们的表是否已经存在,方法在下面代码中;如果存在则跳过,不存在则创建
-(void)DataBaseInit
{
//获取Document文件夹下的数据库文件,没有则创建
NSString *d...
分类:
数据库 时间:
2014-07-06 00:55:21
阅读次数:
638