Property 'navigationController' not found on object of type '...'
2013-03-21 19:05
507 查看
问题在于NSObject里面没有这个属性
修改代码如下:
修改代码如下:
SecondViewController* second=[[SecondViewController alloc]init]; AppDelegate * appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate]; [appDelegate.navController pushViewController:second animated:YES];
相关文章推荐
- Property 'edgesForExtendedlayout' not found on object of type 解决方案
- 解决编译错误:Property 'value' not found on object of type '_strong id'
- javax.el.PropertyNotFoundException: Property 'begin' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- Property or field 'siteUrl' cannot be found on object of type 'xx' - maybe not public?
- Property 'typeid' not found on type java.lang.String
- javax.el.PropertyNotFoundException:Property 'statisDate' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- Property 'edgesForExtendedlayout' not found on object of type
- javax.el.PropertyNotFoundExceptionProperty 'Tid' not found on type com.msz.sims.domain.Teacher
- 对与几种javax.el.PropertyNotFoundException: Property 'XXX' not found on type java.lang.String问题原因
- [java] javax.el.PropertyNotFoundException: Property 'id' not found on type bean.Student
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'key' not found on type java.lang.String
- EL表达式问题:javax.el.PropertyNotFoundException: Property 'post' not readable on type java.lang.Boolean
- Caused by: javax.el.PropertyNotFoundException: Property 'title' not found on type java.lang.String
- Property or field 'str' cannot be found on object of type 'com.yubai.EL.DemoService' - maybe not pub
- Property 'names' not found on type org.house.entity.Street_$$_javassist_3
- 异常:Property 'name' not found on type java.lang.String,attribute items does not accept any