0

When i try to publish my app, available before in letterbox mode for iphone 5, i get this error message "iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5." saying that my app is missing the image "Default-568h@2x" i deleted in order to make my app run in letterbox mode. The app is supposed to be compatible with ios 5 and 6 and had been projected using storyboards!

Now i have no idea how to optimize my app for iphone 5? Can somenone explain to me how to letterbox again the app or optimize it for iphone 5? There's a third storyboard to compile?

Sasha Grievus
  • 2,566
  • 5
  • 31
  • 58
  • Your app will be rejected if it runs "letterboxed" on iPhone 5 – Matthias Bauch May 28 '13 at 14:02
  • So? What, in detail, am i supposed to di? – Sasha Grievus May 28 '13 at 14:03
  • Are you using storyboards for your application? – Groot May 28 '13 at 14:10
  • 1
    Follow the guidance given by the accepted answer in the linked question. What you have to do depends only on your app, and the layout you have used to create it. In one of my apps all I had to do was to add the 568h@2x launch image, because my autoresizingsmasks were setup properly. In another app I had to replace whole custom views because those views were not fit for iPhone 5 resolution. In another app it was a mix of both, some view controllers adapted automatically, others needed a new layout. – Matthias Bauch May 28 '13 at 14:23
  • How do i add a new layout (screen in The storyboard) alternative for iPhone 5 and tell my app ti show that instead of The one project ed for iPhone 4? – Sasha Grievus May 28 '13 at 14:30
  • 1
    You don't add a new layout for iPhone 5, you adjust the autoresizing masks on your iPhone 4 UI so that everything gets repositioned correctly on the wider/taller screen. – John Stephen May 28 '13 at 19:15
  • Ok, i feel like i'm about to discover a whole new world... ^^ What precisely is an autoresizing mask? – Sasha Grievus May 29 '13 at 08:27
  • Got it! Using autoresizing mask i was able to restore my app even on iphone 5. For the sake of completeness, i suggest this documentation about resizing. http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/CreatingViews/CreatingViews.html – Sasha Grievus May 29 '13 at 10:23

0 Answers0