I'm converting an app from the iPhone to the iPad. The splash screen picture is the right size but when I enter the app after about half a second the picture goes from being perfectly sized to having the bottom and right areas out of screen and white areas above and to the left of the picture. How 开发者_Go百科do I get it to stay in the screen the way it's loaded and not moved out of the screen?
The way it's loaded is probably from a default picture (Default.png). This picture is taken from the iPhone version and is being scaled. You can't make it so that this picture stays.
Check the autoresizingMask
and frame
properties of your view/picture and maybe also the bounds
property.
This seems to be a problem with the status bar:
Maybe you did hide it in the iPhone version, and now you should hide it again for the iPad. Check the info.plist of your app
精彩评论