January 30th, 2011, 01:09 PM
Help with my first iPhone Apps keeps crashing
I write my first iphone App but for some reason it keeps crashing
I had these errors
NSDictionary' may not respond to '+dictionaryWithObject:forkey:'
warning: 'UIApplication' may not respond to '+shareApplication'
warning: 'UIKeyboardBoundsUserInfoKey' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:118)
I manage to fix all above warning , but for some reason my apps starts and in the SDK and it then exits it self does anyone have any ideas of what could be going on.
February 2nd, 2011, 07:47 AM
well, there is no way that we can tell you exactly whats causing it if you fixed those warnings already. Read up on multiple debugging techniques (just google debug xcode), including the simple things like using NSLog-s to track variables and how far its getting initialization wise before crashing. (I have found multitudes of little things using just nslog before)