5

I have an app that works very well on the iPhone in portrait only and iPad in landscape only. Based on the screen size of the iPhone 6 Plus, I'd like to get it to work in landscape only as well.

Currently, I have Portrait selected in Device Orientation for iPhone and Landscape only for iPad with proper launch images as well.

I could certainly go to a Launch.xib for both, but I'm not sure how to force only the iPhone 6 Plus to run in landscape.

pizzafilms
  • 3,829
  • 4
  • 24
  • 39
  • 2
    I believe this might be a step in the right direction for you: http://stackoverflow.com/questions/19584208/identify-new-iphone-model-on-xcode-5-5c-5s – MetaGuru Sep 13 '14 at 17:22
  • Hi @pizzafilms, did you find a solution to start your app in landscape? I have the same issue but I need to force my 6 plus to start always in portrait. – Tiago Pereira Nov 13 '15 at 17:17
  • Sadly, no. I can start an iPhone in Portrait only and an iPad in Landscape only, but there doesn't seem to be a way to do anything like that depending on the model of iPhone, etc.. – pizzafilms Nov 13 '15 at 19:13

1 Answers1

-3
  1. Locate your launch images in your xcassets file
  2. In the utilities panel check portrait and landscape for "iOS 8 and later"
  3. Add new assets for iOS 8
Lee Gillen
  • 143
  • 1
  • 9
  • 1
    But there's no way to differentiate for iPhone 6 Plus. Just to be clear, I want all iPhones except 6+ in portrait only and 6+ in landscape only. – pizzafilms Sep 12 '14 at 00:10