摘要: Bundle identifier Xcode中 Target -> General中的bundle identifier ; info.plist中的Bundle identifier; 证书中心的Identifiers中App IDs新建App时的Explicit App ID; 以及iTune 阅读全文
posted @ 2016-03-31 09:46 Jaycee麦子 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 概论 所谓的持久化,就是将数据保存到硬盘中,使得在应用程序或机器重启后可以继续访问之前保存的数据。在iOS开发中,有很多数据持久化的方案,接下来我将尝试着介绍一下5种方案: plist文件(属性列表) Preference(偏好设置) NSKeyedArchiver(归档) SQLite 3 Cor 阅读全文
posted @ 2016-03-31 09:39 Jaycee麦子 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 在iOS 8.0以上版本中, 我们可以使用UISearchController来非常方便地在UITableView中添加搜索框. 而在之前版本中, 我们还是必须使用UISearchBar + UISearchDisplayController的组合方式. 添加UISearchController属性 阅读全文
posted @ 2016-03-31 09:33 Jaycee麦子 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 1 //app尺寸,去掉状态栏 2 3 CGRect appRect = [UIScreenmainScreen].applicationFrame; 4 5 NSLog(@"%f, %f, %f,%f",appRect.origin.x, appRect.origin.y, appRect.size.width,appRect.size.height); 6 ... 阅读全文
posted @ 2016-03-31 09:23 Jaycee麦子 阅读(289) 评论(0) 推荐(0) 编辑
摘要: There was an internal API error. 错误原因:把Product Name作为程序名称,程序名称错乱 解决方法:检查Product Name, 不要包含中文以及特殊字符。在info.plist中新增Bundle display name:我的程序名称。程序名称改为英文,P 阅读全文
posted @ 2016-03-31 09:18 Jaycee麦子 阅读(430) 评论(0) 推荐(0) 编辑