Running an iPhone app on the device only shows a white screen
<p>I have a strange problem when I try to deploy my current app to the device. </p>

<p>Once it is successfully pushed down I see the Default.png as it loads, then the first view appears for about 1/10 second and the whole screen goes white. It feels like the it is a resolution issue or similar as I can still interact with the text fields. When I touch the text field the keyboard appears as normal and I can type in. I can also click-hold in the text field and the magnifying glass appears and shows everything underneath.</p>

<p>I have tried displaying a different view at launch to see if it was specific to the first view but to no avail.</p>

<p>I also tried a different device and it also happens there.</p>

<p>I am using iOS SDK 4.0.2 and the devices are 3.1.3 &amp; 3.1.2</p>

<p>P.S. This all worked fine up to a few weeks ago, but I'm not sure what has changed to make this happen.</p>

<p>Thanks in advance
Liam</p>

<p>Edit:</p>

<p>The app works perfectly in the simulator.</p>

<hr>

<p><img src="http://i.stack.imgur.com/3QzF4.jpg" alt="alt text"></p>

<hr>

<p>Snippet of the code to display the view. It's a very simple page that is displayed if the person is not logged in. In the image the magnifying glass is in the 'username' field. This works fine in the simulator.</p>

<pre><code>LoginPageViewController *loginViewController = [[LoginPageViewController alloc] initWithNibName:@"LoginPage" bundle:nil];
[self presentModalViewController:loginViewController animated:YES];
</code></pre>
