首页 > 其他 > 详细

那些年,遇到的Exception

时间:2016-02-19 15:46:08      阅读:364      评论:0      收藏:0      [点我收藏+]

‘NSInvalidArgumentException‘, reason: ‘-[__NSPlaceholderDictionary initWithObjectsAndKeys:]: second object of each pair must be non-nil.  Or, did you forget to nil-terminate your parameter list?‘

解决方法:[[NSDictionary allocinitWithObjectsAndKeys  每个key和value都不能为nil,最后要加一个nil,另外数值类型的要加 @符号转换成对象

TabBarController 跳到子Controller时候,隐藏tabbar属性

解决方法:

ViewController *controller = [ViewController new];
controller.hidesBottomBarWhenPushed = YES;//隐藏bottomBar
[self.navigationController pushViewController:controller animated:YES];

 

那些年,遇到的Exception

原文:http://www.cnblogs.com/panzi/p/5201111.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!