会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
deneyZhao
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2015年12月11日
ios修改textField的placeholder的字体颜色、大小
摘要: [textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"]; [textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_
阅读全文
posted @ 2015-12-11 12:13 deneyZhao
阅读(166)
评论(0)
推荐(0)
2015年12月7日
关于@synchronized(self)的用法
摘要: @synchronized 的作用是创建一个互斥锁,保证此时没有其它线程对self对象进行修改。这个是objective-c的一个锁定令牌,防止self对象在同一时间内被其它线程访问,起到线程的保护作用。 一般在公用变量的时候使用,如单例模式或者操作类的static变量中使用。有效避免了类成员变量的
阅读全文
posted @ 2015-12-07 16:06 deneyZhao
阅读(140)
评论(0)
推荐(0)
2015年12月3日
隐藏 UITableViewCell 分割线距离左侧15像素空白问题解决
摘要: 在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 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)
2015年12月1日
iOS 集成支付宝中存在include 路径不正确的问题解决
摘要: 集成支付宝sdk后openssl 里面头文件使用的为绝对路径,在编译时会报错 这个错误为路径不正确的报错,修改的话因为文件太多,比较麻烦。 解决这个问题可以再Building Settings 里面 搜索 header search Paths ,在这里面进行设置,把需要导入的头文件的文件夹路径添加
阅读全文
posted @ 2015-12-01 14:52 deneyZhao
阅读(300)
评论(0)
推荐(0)
2015年11月30日
iOS 9.0以后支持http协议
摘要: 在 info.plist文件中添加 App Transport Security Settings (Dictionary)。下面添加Allow Arbitrary Loads 为YES
阅读全文
posted @ 2015-11-30 14:49 deneyZhao
阅读(160)
评论(0)
推荐(0)
Provisioning Profiles 文件删除
摘要: cd ~/Library/MobileDevice/Provisioning Profiles
阅读全文
posted @ 2015-11-30 14:15 deneyZhao
阅读(132)
评论(0)
推荐(0)
上一页
1
2
3
公告