![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
izyhuang
这个作者很懒,什么都没留下…
展开
-
tableView不能滚动,滚动后会回到第一个可视图
检查下是不是tableView放在了view的原创 2014-11-09 02:36:10 · 472 阅读 · 0 评论 -
Assigning to 'id<UITextViewDelegate>' from incompatible type 'HBComposeViewController *const __stron
自定义分类使用协议时出现与父类协议的冲突,警告如下:Assigning to 'id' from incompatible type 'HBComposeViewController *const __strong'按如下方法可解决:原创 2014-12-03 21:00:02 · 3874 阅读 · 0 评论 -
Property type 'id<xxxxTabBarDelegate>' is incompatible with type 'id<UITabBarDelegate>' inherited fr
创建的UITabBar分类并声明代理协议,在声明属性delegate时报错 Property type 'id' is incompatible with type 'id' inherited from 'UITabBar'分析错误为与原来的UITabBar代理命名冲突,改为如下即可解除报错。原创 2014-12-02 23:03:45 · 2612 阅读 · 0 评论 -
UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'原创 2014-11-23 10:12:10 · 396 阅读 · 0 评论 -
h文件中声明的属性,在m文件中-(void)set**:**命名必须遵守Xcode给出的命名方式,否则运行后会出错
h文件中声明的属性,在m文件中-(void)set**:**命名必须遵守Xcode给出的命名方式,否则运行后会出错原创 2014-11-16 16:16:58 · 480 阅读 · 0 评论 -
-[UIImageView _isResizable]: unrecognized selector sent to instance
检查storyboard或者xib中对象的连接是否原创 2014-11-16 16:11:08 · 1607 阅读 · 0 评论 -
Property with 'retain(or strong)' attribute must be of object type
Xcode6.1创建 NSObject类时出现错误:“”原创 2014-11-05 23:29:11 · 1259 阅读 · 0 评论 -
Attempting to badge the application icon but haven't received permission from the user to badge the
在ios8中,直接设置application badge value会出错1 [[UIApplication sharedApplication] setApplicationIconBadgeNumber:count]; 曝出” Attempting to badge the application icon but haven't received permission f原创 2014-12-05 22:24:28 · 968 阅读 · 0 评论