I had developed an ios app for ios 4.0.That was navigation based application.Now I want it also support for iPhone-5 I think I changed xib after checking device version,I am facing problem xib is changed but it's view Height is not changed.How it can possible if some else face this problem please share ideas with me.Thanks.
相关问题
- UINavigationBar change title text color and font s
- Xcode 4.2 with iOS 5.0 not detecting iPhone iOS 5.
- How to make an iphone and iphone4-retina compatibl
- how do I update my old apps to iPhone 5? [duplicat
- UIImageview programmilly manage for iphone5 and ip
相关文章
- Handling the larger device size of iPhone 5 [dupli
- iOS 6 - Handle iPhone 5 screen size without Defaul
- Scalar type in Managed Object only works for IPhon
- Xcode 4.5 background image iPhone 4, 4s, 5
- colorWithPatternImage creates black grids in iphon
- Can i test accelerometer effect in Xcode simulator
- iOS Project Update Xcode 4.2 to Xcode 4.5
- Need to access the default camera shutter sound us
IN APP Delegate:-
Its Works !!!!!!
Set iOS 6 as the Base SDK and use the Auto Layout feature to make screens that can scale for all type of screens. You'll need Xcode 4.5 to do this.
Get started with Auto Layout here:
http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2
http://www.raywenderlich.com/20897/beginning-auto-layout-part-2-of-2
If you still want to support iOS 4.0, have separate .xib files for different screen sizes and load them appropriately at launch.
To load different nib files based on your screen size, in your app delegate, you will need to add/replace the following code in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
where
ViewController_4inch
is the name of the nib file that is designed for iPhone 5 screen