當我在運行我的應用程序時將iPhone放在桌子上時,它會在我拿起應用程序後崩潰。EXC_BAD_ACCESS(我正在改變方向)
下面是崩潰日誌。 (EXC_BAD_ACCESS
)
objc_msgSend -[UIWindow _shouldAutorotateToInterfaceOrientation:] -[UIWindow _updateToInterfaceOrientation:duration:force] -[UIWindow _updateInterfaceOrientationFromDeviceOrientation] -[UIWindow _handleDeviceOrientationChange:] _nsnote_callback __CFXNotificationPost _CFXNotificationPostNotification -[NSNotificationCenter postNotificationName:object:userInfo:] -[UIDevice setOrientation:] -[UIApplication handleEvent:withNewEvent:] _[UIApplication sendEvent:] _UIApplicationHandleEvent SendEvent PurpleEventTimerCallBack CFRunLoopRunSpecific CFRunLookRunInMode GSEventRunModel GSEventRun -[UIApplication _run] UIApplicationMain main
你有什麼想法是什麼問題?
一些代碼將是很好的。 – 2009-09-30 11:24:52