iDevGames Forums
App launches, tab bar shows, but content is white and viewWillAppear not called - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: App launches, tab bar shows, but content is white and viewWillAppear not called (/thread-669.html)



App launches, tab bar shows, but content is white and viewWillAppear not called - funkboy - Oct 17, 2009 08:29 PM

Upon launch, my app is going through most of the calls I would expect, including applicationDidFinishLaunching:
However, whichever viewController is the selected view controller on launch does not get displayed, nor does it viewWillAppear: method get called. Instead, it shows the tab bar at the bottom, and empty white above up to the status bar (with time, battery, etc.).

Has anybody seen this before?

This bug happens only on iPhone OS 2.x devices. The app is built with iPhone SDK 3.1.2.

What changed with regards to tab bar controllers going from 2.x to 3.x? I cannot find anything indicating a change.

Thanks,
Karl


App launches, tab bar shows, but content is white and viewWillAppear not called - funkboy - Oct 17, 2009 08:35 PM

Here is an image of what I'm seeing:
[Image: Screenshot+2009.10.17+22.31.12.png]


App launches, tab bar shows, but content is white and viewWillAppear not called - AnotherJake - Oct 18, 2009 08:51 AM

funkboy Wrote:Here is an image of what I'm seeing:

That image isn't showing up.


App launches, tab bar shows, but content is white and viewWillAppear not called - sthaqu - Oct 21, 2009 12:13 AM

yeah, image doesn't show up.

but i think your problem is discussed here:
1. http://stackoverflow.com/questions/895713/viewdidload-gets-called-viewwillappear-does-not-get-called-view-does-not-appear
2. http://www.iphonedevsdk.com/forum/iphone-sdk-development/5431-viewwillappear-not-getting-called.html