摘要: If your app uses a UINavigationController, then you should subclass it and set the class in IB. You would then want to override the following methods to support both iOS5 and iOS6:- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;{ return interfaceOrientatio 阅读全文
posted @ 2013-12-03 22:33 菁菁工作室 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 利用NSbundle获取 资源文件的时候,如果是自己添加的文件,获取的时候纵使返回nil的解决办法。原因是因为该文件没有添加到资源文件中,只要在添加文件的时候选择添加到 Create Folder References for any added folders,文件夹变成蓝色就可以了。 阅读全文
posted @ 2013-12-03 09:40 菁菁工作室 阅读(383) 评论(0) 推荐(0) 编辑