![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UI中遇到的问题
duoduo_333
.O(∩_∩)O奋斗中的攻城师.
展开
-
点击textField输入框没有响应的问题!
在UI开发过程中,wo'men原创 2014-08-21 23:07:37 · 7736 阅读 · 0 评论 -
Xcode6.0 解决无法输入中文的办法.
使用Xcode6.0模拟器不能在textField里面输入中文,也切换不过来,模拟器也添加了中文键盘,还是不能切换键盘输入中文.解决办法:选中Xcode →product→ scheme → Edit scheme→ run → options→ application Region 选项改为“中国”然后就可以输入中文了原创 2015-03-10 16:40:17 · 3423 阅读 · 1 评论 -
[ XXX handleSegmentControl:]: unrecognized selector sent to instance 0x7fe2de49a8e0
[ XXX handleSegmentControl:]: unrecognized selector sent to instance 0x7fe2de49a8e0我的错误原因每个人的可能不一样,分享一下:原因:我用XIB建的UISegmentControl,添加的方法,之前添加过一次响应方法,后来删除,又重新添加了一次响应方法,导致响应方法有两个,有冲突.如图解决办法:删原创 2015-03-05 11:57:43 · 1051 阅读 · 0 评论 -
Too many arguments to function call ,expected 0,have3
使用MJRefresh上拉加载,下拉刷新时,导入包后,编译出现:Too many arguments to function call ,expected 0,have3网上解决解决办法:Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable Strict Checking of objc_msgSend Calls 将YES原创 2015-03-02 11:43:30 · 1901 阅读 · 0 评论 -
reason: 'Could not load NIB in bundle: "XXXXXXX" with name 'xxCell'
错误信息:reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'collectViewCell''查找原因:UICollectionView注册的是时候出错;如下:[self.collectionView registerNib:[UINib nibWithNibName:@"sch原创 2015-02-14 15:08:40 · 3693 阅读 · 0 评论 -
iOS The file “XXX” couldn’t be opened because you don’t have permission to view it.
打开一个工程编译运行出现iOS The file “UIMenuBarDemo” couldn’t be opened because you don’t have permission to view it.搜资料,解决方法:点击工程出现的警告,会出现如下图所示:点击 Preform Changes继续就OK了原创 2015-02-10 10:39:36 · 1280 阅读 · 0 评论 -
-pie can only be used when targeting iOS 4.2 or laterclang: error: linker command failed with exit c
在code4App上下载的一个下拉菜单的demo,打开就爆出标题所示的问题.解决方法:TARGET→ general → DeployMent info → Deployment Tagget 把版本设置高一点就OK了.每天一点积累.......原创 2015-02-05 12:51:25 · 805 阅读 · 0 评论 -
Too many arguments to function call ,expected 0,have3
使用MJRefresh刷新,导入工程中,爆出:Too many arguments to function call ,expected 0,have3解决方法:Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable Strict Checking of objc_msgSend Calls YES改为 NO原创 2015-02-05 12:47:00 · 1099 阅读 · 0 评论 -
cocoaPods使用出现:Setting up CocoaPods master repo
cocoaPods使用出现:Setting up CocoaPods master repo时;切莫慌张,耐心等待就行了,第一次用cocoaPods出现这个情况很正常.原创 2015-02-04 17:47:45 · 1363 阅读 · 0 评论 -
使用cocoaPods出现:incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
使用cocoaPods安装AFNetworking时出现:incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)原因是:Podfile文件里面的内容格式有问题,检查你的标点符号是否是在英文状态下输入的:platform :ios, '7.0'pod "AFNetwor原创 2015-02-04 17:44:35 · 5269 阅读 · 1 评论 -
-boundingRectWithSize:options:attributes:context:用法
导入第三方一些类库后,出现一些警告就是某些方法被弃用了:如:- (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(NSLineBreakMode)lineBreakModeNS_DEPRECATED_IOS(2_0,7_0, "Use -boundingRectWith原创 2015-02-04 11:18:57 · 1124 阅读 · 0 评论 -
this class is not key value coding-compliant for the key btn
使用xib创建button时,出现的错误,原因是因为为这个button留接口时,第次出错,就删除了,重新命名了,造成第一次的命名的名字还连线使用.解决办法:把第一次连线的btn的连线删除就可以了.原创 2015-01-13 15:22:42 · 600 阅读 · 0 评论 -
在屏幕上未看到创建的视图
(1)未添加到父视图原创 2014-08-21 23:19:08 · 593 阅读 · 0 评论 -
iOS 使用MJRefrsh上拉加载,下拉刷新cell不充满UICollectionView时不能刷新的问题
iOS 使用MJRefrsh上拉加载,下拉刷新cell不充满UICollectionView时不能拖动collectiobView,因此不能实现刷新和加载解决办法:1.春代码法:self.collectionView.alwaysBounceVertical = YES;2.可视化编程Xib法原创 2015-03-23 17:50:18 · 2142 阅读 · 0 评论