[MonoTouch] Universal app: White screen entering from background

Nic Wise nicw at fastchicken.co.nz
Sun Oct 9 14:54:56 EDT 2011


in your main.cs, try setting window.BackgroundColor = UIColor.Black;

I think it defaults to white.

(do it on either finishedlaunching, or the enteredforeground. Or both)

On Sun, Oct 9, 2011 at 16:40, jowi <j.wiersma17 at chello.nl> wrote:
> I've build a universal app using the sample code from here:
> http://docs.xamarin.com/ios/getting_started/iPad_and_Universal_Apps
>
> I gave the xib's a black background color, but if i put the app to the
> background and bring it back to front, the app comes up with an animated
> white screen first for a moment, and after that the black xib shows up.
>
> How can this be fixed?
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/Universal-app-White-screen-entering-from-background-tp3887597p3887597.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2


More information about the MonoTouch mailing list