XCode 6 iPad app works great on iOS 8 but has many issues in iOS 7

Discussion in 'iOS Programming' started by bjkpoker, Jan 13, 2015.

  1. bjkpoker macrumors newbie

    Jan 13, 2015
    I wrote an iPad app in XCode 6 and it works great in a 8.1 simulator or an iOS 8 device but when I test it on a 7.1 simulator there are many issues such as missing images and buttons and screens that are completely blank except for the navigation bar. I am not getting any auto layout or runtime errors. I'm not sure where to start looking to solve this. Any ideas?
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    It's difficult to go back in time. It's difficult to write an app for a newer OS and then retrofit it with support for an older OS. Typically it's done the other way around. You write an app for the current OS and then add support for new OS features as they're added. At the least you should work and test on both at the same time for a new app that supports multiple OSes.

    Anyway, you debug these problems like any problem. Set breakpoints. Step through code. Test your assumptions. When you get closer to understanding each problem then search online for something similar. There are bugs in older OSes that have been fixed that were discussed a year or two ago online.
  3. AppSwage macrumors newbie

    Jan 18, 2015
    It is odd to me to see that level of issue. I have numerous apps that cross that divide and while their are issues that came up, entirely missing screens is not one of them. For example, popovers and embedded segues work a bit differently on devices running iOS 7 vs. iOS 8. Otherwise, are you using a universal storyboard with sizing classes for these? I do recall coming across some differences between 7&8 when dealing with default sizing classes. You didn't mean though how you created your app layout.
  4. bjkpoker thread starter macrumors newbie

    Jan 13, 2015
    I think the storyboard may be corrupted in some way because if I create a new project and build the first view controller the same way it works fine in both iOS versions. Another strange things is that it seems like only the root view controller is affected. I put a button in the navigation bar just so that I could navigate to another view controller and that view controller looked and worked fine. It also looks like the launch screen is bypassed when viewed on iOS 7.

    I think what I may have to do is rebuild the storyboard adding view controllers one by one and testing as I go. I can't find a specific problem.

Share This Page