上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页
摘要: 1 - (BOOL)isContainsEmoji:(NSString *)string { 2 __block BOOL isEomji = NO; 3 [string enumerateSubstringsInRange:NSMakeRange(0, [string lengt... 阅读全文
posted @ 2014-11-26 09:27 回读(IOS) 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/ljb_wh/article/details/40788333ios7的时候在storyboard 设置 TableView的separator intend = 0 可以让tableview的分割条顶到头。但是,升级了iOS8时,发现不起作用了。经过... 阅读全文
posted @ 2014-11-25 16:03 回读(IOS) 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/hmt20130412/article/details/40432495XCode6里, 新建工程默认是没有pch文件的,苹果取消pch文件这一点肯定有它的道理,刚开始很多人可能不适应,如果我们想使用pch文件,需要手动添加,添加步骤如下:(依旧直接上... 阅读全文
posted @ 2014-11-25 15:54 回读(IOS) 阅读(222) 评论(0) 推荐(0) 编辑
摘要: NSData *imageData; if (UIImagePNGRepresentation(imageToSave) == nil) { imageData = UIImageJPEGRepresentation(imageToSave, 1); } else { ... 阅读全文
posted @ 2014-11-20 11:04 回读(IOS) 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 最近对Core Animation和Core Graphics的内容东西比较感兴趣,自己之前也在这块相对薄弱,趁此机会也想补习一下这块的内容,所以之后几篇可能都会是对CA和CG学习的记录的文章。在应用里一个很常见的需求是主题变换:同样的图标,同样的素材,但是需要按照用户喜爱变为不同的颜色。在iOS5... 阅读全文
posted @ 2014-11-14 14:45 回读(IOS) 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 修改红线里的内容 阅读全文
posted @ 2014-11-12 16:55 回读(IOS) 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-11-12 16:53 回读(IOS) 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 解决方法 1:自从IOS7后UINavigationBar的一些属性的行为发生了变化.你可以在下图看到:现在,如果你要修改它们的颜色,用下面的代码:1234self.navigationController.navigationBar.barTintColor=[UIColorblackColor]... 阅读全文
posted @ 2014-11-10 17:04 回读(IOS) 阅读(2866) 评论(0) 推荐(0) 编辑
摘要: //创建button遮挡 UIButton *cover = [[UIButton alloc]initWithFrame:self.view.frame]; [cover setBackgroundColor:[UIColor blackColor]]; cover.alpha ... 阅读全文
posted @ 2014-11-06 09:05 回读(IOS) 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 下载VVDocumenter-Xcode这个插件打开编译后,重启Xcode输入///,如效果图,Window->VVDocumenter自己定制风格 阅读全文
posted @ 2014-11-03 09:39 回读(IOS) 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页