EXC_BAD_ACCESS ( i am changing Orientation )

Posted by Aishwarya on Stack Overflow See other posts from Stack Overflow or by Aishwarya
Published on 2009-09-30T11:12:54Z Indexed on 2010/04/20 9:03 UTC
Read the original article Hit count: 413

Filed under:

When I put my iPhone on the table while running my application it crashes the second after I pick it up.

Below is the crash log. (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

Have you any idea what's the problem?

© Stack Overflow or respective owner

Related posts about iphone