12 2015 档案

摘要:从Xcode 5开始,苹果要求加入UUID证书从而保证插件的稳定性。因此Xcode版本更新之后需要在VVDocumenter-Xcode的Info.plist文件中添加Xcode的UUID。 一、查看Xcode的UUID:在终端执行 defaults read /Applications/Xcode 阅读全文
posted @ 2015-12-15 12:01 deneyZhao 阅读(216) 评论(0) 推荐(0)
摘要:iOS 7 viewcontroller新增属性automaticallyAdjustsScrollViewInsets,即是否根据按所在界面的navigationbar与tabbar的高度,自动调整scrollview的 inset,设置为no,让它不要自动调整就可以了 阅读全文
posted @ 2015-12-11 16:59 deneyZhao 阅读(200) 评论(0) 推荐(0)
摘要:[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"]; [textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_ 阅读全文
posted @ 2015-12-11 12:13 deneyZhao 阅读(166) 评论(0) 推荐(0)
摘要:@synchronized 的作用是创建一个互斥锁,保证此时没有其它线程对self对象进行修改。这个是objective-c的一个锁定令牌,防止self对象在同一时间内被其它线程访问,起到线程的保护作用。 一般在公用变量的时候使用,如单例模式或者操作类的static变量中使用。有效避免了类成员变量的 阅读全文
posted @ 2015-12-07 16:06 deneyZhao 阅读(140) 评论(0) 推荐(0)
摘要:在viewDidLoad 里面 加上 if ([self.tableView respondsToSelector:@selector(setSeparatorInset:)]) { [self.tableView setSeparatorInset:UIEdgeInsetsZero]; } if 阅读全文
posted @ 2015-12-03 14:50 deneyZhao 阅读(241) 评论(0) 推荐(0)
摘要:真机调试是遇到的问题 : The executable was signed with invalid entitlements. The entitlements specified in your application’s Code Signing Entitlements file do n 阅读全文
posted @ 2015-12-03 14:46 deneyZhao 阅读(972) 评论(0) 推荐(0)
摘要:集成支付宝sdk后openssl 里面头文件使用的为绝对路径,在编译时会报错 这个错误为路径不正确的报错,修改的话因为文件太多,比较麻烦。 解决这个问题可以再Building Settings 里面 搜索 header search Paths ,在这里面进行设置,把需要导入的头文件的文件夹路径添加 阅读全文
posted @ 2015-12-01 14:52 deneyZhao 阅读(301) 评论(0) 推荐(0)