首页 > 代码库 > ionic iphone下的问题

ionic iphone下的问题

1. nsunknownkeyexception

    Terminating app due to uncaught exception ‘NSUnknownKeyException‘, reason: ‘[<UIApplication 0x14e7b130> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.

  解决方法:Main Interface  设置为空。 

  好几个错误和Deployment Info 里面的设置有关

  Device Orientation 选项,Requires full screen 这几个选项可以重新选择试试。

      http://stackoverflow.com/questions/8232766/terminating-app-due-to-uncaught-exception-nsunknownkeyexception

 

 2: ionic 在xcode下面编译时,需要在search Paths 中的header Serarch Paths 中增加下面路径:

  "$(OBJROOT)/UninstalledProjucts/$(PLATFORM_NAME)/include"

 

ionic iphone下的问题