I made a mistake when I created one of my UIViewController
objects. When I created the files, I forgot to select the Target for iPad option.
I never considered this to be much of an issue, because I always change my initial view within the generated Nib file to not display a statusbar, and to be freeform in sizing.
However, I've recently ran into a problem. The UIViewController
that I created that wasn't Targeted for iPad has a toolbar on it. This means that the default style is a bluish color. The problem is that all of my other views were created for the iPad and the default iPad style is a greyish tone, instead of the bluish tint color that is associated with iPhone/iPod devices.
I need my application to remain consistent and I'd rather not start from scratch, re-making my Nib file, and re-wiring it to my ViewController.h
file.
How can I fix my Nib and View Controller so that it behaves as if it is Targeted for iPad, even though I've mistakenly not specified it as such?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…