随笔分类 -  知识碎片

摘要:- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ if ([tableView respo... 阅读全文
posted @ 2016-01-20 17:52 lis杰 阅读(149) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/lwjok2007/article/details/48241285 阅读全文
posted @ 2016-01-16 10:21 lis杰 阅读(184) 评论(0) 推荐(0)
摘要:- (void)statusBarOrientationChange:(NSNotification *)notification{ UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOr... 阅读全文
posted @ 2016-01-16 10:19 lis杰 阅读(198) 评论(0) 推荐(0)
摘要:InfoPlist.strings文件里写上: CFBundleDisplayName="中文名字"; 阅读全文
posted @ 2016-01-16 10:19 lis杰 阅读(176) 评论(0) 推荐(0)
摘要:sudo /usr/libexec/locate.updatedblocate liblaunch_sim 阅读全文
posted @ 2016-01-16 10:18 lis杰 阅读(393) 评论(0) 推荐(0)
摘要:首次运行的应用程序加入一些help 或者 宣传动画 现在变的很重要了。 一个有用的例子是发送一个分析实例。这可能是一个很好的方法来确定有多少人下载实用应用程序。有人会说:“但是,嘿,苹果AppStore已经告诉我,应用程序的下载量了”。流行的解决方案是在大多数地方是用[NSUserDefaults ... 阅读全文
posted @ 2016-01-16 09:40 lis杰 阅读(231) 评论(0) 推荐(0)
摘要:参考:http://www.2cto.com/kf/201403/285612.html(链接网址)补充:*要想真正删掉本地通知,必须要写了删除代码后将程序删了重新安装*本地通知添加后不需要再添加 阅读全文
posted @ 2016-01-16 09:37 lis杰 阅读(131) 评论(0) 推荐(0)
摘要:#pragma mark - 16位转换10进制 颜色- (UIColor *)getColor:(NSString *)hexColor{ unsigned int red,green,blue; NSRange range; range.length = 2; range.location = ... 阅读全文
posted @ 2016-01-16 09:35 lis杰 阅读(349) 评论(0) 推荐(0)