- 博客(18)
- 收藏
- 关注
原创 设置导航栏透明
[self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault]; self.navigationController.navigationBar.shadowImage = [UIImage new];
2016-07-27 19:39:43 455
原创 .DS.Store隐藏文件丢失
解决方法:把丢失的文件.DS.Store(文件中显示是红色的,无效的)删除,然后重新拉入该文件,使用git 遇到的问题
2016-07-27 19:38:53 525
原创 UISearchBar的placeholder文字上移问题
// NSMutableParagraphStyle * style = [self.searchTF.defaultTextAttributes[NSParagraphStyleAttributeName] mutableCopy];// // style.minimumLineHeight = (self.searchTF.font.lineHeight -[UIFo
2016-07-27 19:33:48 1063
原创 UIsearchBar的placeholder字体颜色和大小
UITextField * tf = [self.searchController.searchBar valueForKey:@"_searchField"]; tf.textColor = UIColorFromRGB(0xc2c4c4); [tf setValue:UIColorFromRGB(0xc2c4c4) forKeyPath:@"_placehold
2016-07-27 19:32:41 1027
原创 This application is modifying the autolayout engine from a background thread, which can lead to engi
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.解决方法: __w
2016-07-27 19:27:10 645
原创 The file “XXX” couldn’t be opened because you don’t have permission to view it.
The file “XXX” couldn’t be opened because you don’t have permission to view it.解决方法:进入info.plist文件,选择executable file 修改它的名字为第二张图
2016-07-27 19:24:54 642
原创 reason: 'couldn't find a common superview for <UIView: 0x7ffc2e303270; frame = (0 0; 0 0); layer = <
reason: 'couldn't find a common superview for > and <JTCalendarContentView: 0x7ffc2d81f200; baseClass = UIScrollView; frame = (0 64; 375 72); clipsToBounds = YES; autoresize = RM+BM; gestureRecogniz
2016-07-27 19:19:44 5698
原创 MJRefresh的上拉加载的隐藏
if (!self.tableView.footer.isRefreshing) { self.tableView.footer.alpha =0.; }else{ self.tableView.footer.alpha =1.0;
2016-07-27 19:14:23 6437
原创 Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=http://XXXX, NSLo
Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=http://XXXX, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=http://XXX}请求数据的位置有问题,跟其他的冲突了,检查代码吧
2016-07-27 19:12:02 13781 9
原创 property follows cocoa name convention
出现这种情况是因为你的属性命名出问题了,不要以关键字开头,比如new alloc copy 等
2016-07-27 19:08:37 312
原创 The 'Apple Developer Program License Agreement' has been updated. In order to access certain members
The 'Apple Developer Program License Agreement' has been updated. In order to access certain membership resources, you must accept the latest license agreement.解决方法:进入苹果开发者中心,有个红色的提示,点击之后,
2016-07-27 19:06:03 13674 3
原创 Multiple errors occurred while copying the files
是添加重名文件造成的,解决方法:clean 然后打开xcode文件删除刚刚添加进去的文件 重新拉进去
2016-07-14 18:53:12 901
原创 The working copy"XXX" failed to commit files
出现这种原因是因为拉进去的图片与之前的重复了,然后我就在文件中把新拉进去的文件删掉,clean,然后提交代码到git上就提交不了了,然后clean一下重新提交就可以了
2016-07-14 18:50:48 1135
原创 __NSCFConstantString alignmentRectInsets
出现这种问题 ,就是自己大意了,设置图片的时候只写了字符串,丫的,没报错,真是奇葩。比如设置button的背景图片,写 [button setBackImage:[UIImage imageWithNamed:@""];
2016-07-14 18:43:22 635
原创 XIB不能关联问题
我出现的原因是;创建的文件重名了,Xcode居然没有提示,这是恶心。删除文件重建文件,如果你的XIB已经绘制好了,不想重绘制,解决方法:第一:先删除然后重建一个文件命名不同第二:把新建的XIB里面的view删除,第三:把删除的XIB里面的view复制过去,第四:把复制进去的XIB的view关联file's OwnerOK解决了。。。。。。。。。。。。
2016-07-14 18:35:21 1481
原创 Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Cache
出现这种错误就是tableView的cell空的,要看看你的register,还有代理方法哪里写错了
2016-07-14 18:24:04 490
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人