My app shows up letter boxed and I want it to stretch properly to fill the whole screen. I'm creating my main window with:
self.mainWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
But I'm still getting the letter boxed behavior. Is there some other setting I need to set to get the full size of the mainScreen on the device?
I'm trying to avoid using any launch images if I can. I've tried this:
self.mainWindow.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
and it doesn't seem to help. And I've looked through all the Info.plist options and found nothing that seems to match.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…