I have a weird problem, dont know which code should I post because I dont know where is the problem, but please ask for more code sample if you need;
My app was build with “Xcode 3.2 and IOS 4.3” Then recently I started to use Xcode 4.2 with base IOS 5; Opened my project with new environment and set deployment target to IOS 4.3. App works same and well but I have one problem;
App starts with splash screen well and then I supposed to see the first view from the navigation controller but instead I see a blank white screen! and it stays still..then here is the surprize; when I press home button and then open app again from suspended mode then I can get the first view correctly! Which parts of my code should I check? Or is it a configuration problem I can fix from build settings? When I debug I can hit the “viewDidAppear” method of the viewController but actually all I see is a white screen.
Thanks.
You often see this if you are creating your main UIWindow in code but there is an extra UIWindow defined in your nib file. In iOS 4 the window you create in code appears above the nib-defined window. In iOS 5 it is the other way round – the empty nib-defined window appears above your window created in code.
If you are creating your main window in code then check your nib file, remove any extra window and remove the Main Nib File setting from your info.plist file.