Context
How my app looks in iOS 7 simulator in Xcode 5.0
I previewed an app built for iOS 5.1 in Xcode 5.0, and ran it in the iOS 7 simulator. A bunch of stuff had changed/"looked weird".
Examples:
- I'm using a
UINavigationController
and had set itsnavigationBar
color to be black using:self.navigationController.navigationBar.tintColor = [UIColor blackColor]
, however when I ran it in the simulator the navigation bar is now a translucent, greyish color - I have a number of buttons on the home screen, in iOS 6 these were pushed down by the navigation bar, in iOS 7 this is not the case, and they are moved up the screen and sit behind the nav bar.
The list could go on. I realize this is because of the updates to iOS 7 with "core" framework libraries such as UINavigationController
.
How my app looks running on an iPod touch (5th gen) running iOS 7 beta
When I ran the same app on my iPod touch (HOWEVER in this case, the app is downloaded from app store, having been published for iOS 5), it looks pretty much the same as it did in iOS 6, the nav bar is black, the buttons are in "the right place" on the home screen etc.
Question
I assumed that when the app is using a navigation object such as UINavigationController
it looks to find that library on the device, rather than having that library packaged within the app? I guess this is not the case. Could someone explain to me what libraries are accessed on the device and what come pre-packaged with the app, and explain a little more in-depth the mechanics of the above.
My understanding is that when previewing the app in Xcode, Xcode is bundling the iOS 7 libraries with my app and thus there are fairly dramatic changes. When I preview the app on iPod touch because I'm using the public version of the app, that comes bundled with iOS 5/6 libraries it looks the same.