Search code examples
iphoneipadorientationlandscapeportrait

Different screen orientation for iPhone and iPad


I need to create portrait only orientation for iPhone and landscape only for iPad. What is smartest way to archive it?


Solution

  • In xcode tab "General"->Deploy Info->Device Orientation, check the right option.