Question: When I am using Xcode 5 and I set the deployment target as 7.0, the application runs perfectly with both 4-inch and 3.5-inch displays.

I have downloaded the iOS 6 SDK already.

When I change the base SDK to iOS 6 and set the deployment target as iOS 6.1 my GUI is affected in a way that changes every image, navigation bar, images and all other controls.

I am not using autolayout and have two `.xib` files for one `UIViewController` in each class.

So, how can I get fix this?

Thanks in advance.

Answer: 
When you compile with the iOS 6 SDK , you application is created with the iOS6 images, views, keyboards, etc...

You can't use iOS7 views if you are compiling for iOS6, you need to compile for iOS7, even thought your app is iOS6 compatible (setting the deployment target to iOS6)
If your application is working fine in iOS 7 and you need to run it iOS 6 then you need to manage the application using this method:

```
if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending){
    //CGRect gridFrame;
    if ([[UIScreen mainScreen] bounds].size.height == 568) {
       // Do nothing if already managed
    }else{
       // Do nothing if already managed
    }
}else{
    //CGRect gridFrame for ios6;
    if ([[UIScree`enter code here`n mainScreen] bounds].size.height == 568) {
        //Manage frame here 
    }else{
       //Manage frame here 
    }
}

```