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 compiling for iOS 7 you are using iOS 7 specific GUI elements ([that differs a lot from iOS 6](http://www.idownloadblog.com/2013/06/14/ios-6-vs-ios-7-the-different-ui-views/)). Phones that are still on iOS 6 (about 16%) will however see the iOS 6 GUI elements for obvious reasons, even if you compile it for iOS 7. 

There is really no way to resolve this, you should simply develop for iOS 7 and let iOS 6 users still have iOS 6 GUI elements.
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 
    }
}

```