ios6 tabbar设置
appdelegate 添加 IBOutllet UITabBarController *rootController
调用TarBarController.xib
TarBarController.xib设置
identify spector:
custom class appdelegate
view Controller - Item N => Attribute spector => NibName : show nibName
ok? no!
try to connect appdelegate's rootController and TarBarController.xib
it's ok
DatePicker按教程来做的时候一直报错,不明原因
报错:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x898f5a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key datePicker.'
在对应控制器的xib中不仅要把nib name 设置成datePickerControler,而且在 view identity 中,也要把class name 设置成成datePickerControler
引用:http://www.cocoachina.com/bbs/simple/?t25250.html
867

被折叠的 条评论
为什么被折叠?



