iOS通讯录iOS9,8,7 - 为技术 - 博客园

2017-06-07  本文已影响49人  ali_hilo

转自:iOS通讯录iOS9,8,7 - 为技术 - 博客园http://www.cnblogs.com/lzcdbk/p/5388577.html 

应用内评论

#import  <StoreKit/StoreKit.h>

if ([UIDevice currentDevice].systemVersion.floatValue >= 10.3) {[SKStoreReviewController requestReview];}

UITableViewCell 多选地区

http://blog.csdn.net/WorthyZhang/article/details/46233879

解决pathForResource返回nil / 无法读取plist文件问题

问题:

NSBundle *bundle = [NSBundle mainBundle]; //取得mainBundle

NSString *pathOfPlist = [bundle pathForResource:@"PlistTest-Info" ofType:@"plist"]; //取得文件路径

解决方案:

单击项目-》Build phases-》找到CopyBundleResources 然后将PlistTest-Info.plist文件添加进来即可。

一个坑,同一个控制器,一直push   忘了新建了对象,因此block失效

上一篇 下一篇

猜你喜欢

热点阅读