Monday, May 14, 2012

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?



Source: Tips4all

1 comment:

  1. 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.

    ReplyDelete