我使用属性(名字“userInteractionEnabled”)来改变navigationController.navigationBar的状态,但Xcode中抛出错误,如何使用“userInteractionEnabled”属性中的iOS
当App调用Xcode抛出Error的[self viewDidDisappear:]方法时,您可以看到此代码。 错误消息:EXC_BAD_ACCESS(code = 2,address = 0x7fff5bc8bfb8)
请问我可以吗? 为什么Xcode抛出错误? 为什么要抛出EXC_BAD_ACCESS? 为什么?
这可能会帮助你http://stackoverflow.com/questions/9116557/when-should-i-call-removeobserverforkeypath-from-within-a-closing-viewcontrolle –