Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change background color of UIModalTransitionStyleFlipHorizontal

I would like to change the color behind the flip from white to a different color or picture. Is that possible?

like image 379
mightimaus Avatar asked Nov 23 '10 02:11

mightimaus


1 Answers

Change the background colour of the UIWindow in MainWindow.nib. Either "black" or "clear" should both work (I think...)

It's one of the first things I do to any app, otherwise you get bits of white showing on a view rotation (in the very old days of 2.x there were huge patches of white; they've since masked off the screen edges during a rotation, but a few pixels still show through) and when you show/hide the status bar (e.g. for UIImagePicker) and stuff. Black looks a lot better than white for the window background.

like image 79
tc. Avatar answered Oct 24 '22 12:10

tc.