2014年8月5日
摘要: UITabBarController是IOS中很常用的一个viewController,例如系统的闹钟程序,ipod程序等。UITabBarController通常作为整个程序的rootViewController,而且不能添加到别的container viewController中。 首先我们看... 阅读全文
posted @ 2014-08-05 21:18 我靠是时候那个了 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 1、删掉工程中main.storyboard 后要删除plist文件中对应的键值,否则会报如下错误:Could not find a storyboard named 'Main' in bundle NSBundle2、删除main.storyboard后,需要在AppDelegate.m中初始化... 阅读全文
posted @ 2014-08-05 21:14 我靠是时候那个了 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 检查更新这个功能,在iOS开发中也是比较常见的,下面总结一下我自己的实现:[objc] view plaincopyprint?#pragmamark-检查更新 -(void)checkUpdateWithAPPID:(NSString*)APPID{//获取当前应用版本号 NSDictionary... 阅读全文
posted @ 2014-08-05 15:08 我靠是时候那个了 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1.找到SDImageCache类2.添加如下方法:[objc] view plaincopyprint?-(float)checkTmpSize{floattotalSize=0;NSDirectoryEnumerator*fileEnumerator=[[NSFileManagerdefault... 阅读全文
posted @ 2014-08-05 15:07 我靠是时候那个了 阅读(843) 评论(0) 推荐(0) 编辑