- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 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
原创 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
原创 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
原创 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
原创 h文件中声明的属性,在m文件中-(void)set**:**命名必须遵守Xcode给出的命名方式,否则运行后会出错
h文件中声明的属性,在m文件中-(void)set**:**命名必须遵守Xcode给出的命名方式,否则运行后会出错
2014-11-16 16:16:58
480
原创 -[UIImageView _isResizable]: unrecognized selector sent to instance
检查storyboard或者xib中对象的连接是否
2014-11-16 16:11:08
1607
原创 Property with 'retain(or strong)' attribute must be of object type
Xcode6.1创建 NSObject类时出现错误:“”
2014-11-05 23:29:11
1259
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人