0 évaluation0% ont trouvé ce document utile (0 vote)
7 vues2 pages
This code checks the device type and screen size on launch to determine which storyboard to load. It gets the main storyboard based on whether it is an iPhone or iPad and the iPhone screen height to load the appropriate storyboard for iPhone 5 or other iPhone sizes. It then sets the root view controller and makes the window key and visible.
This code checks the device type and screen size on launch to determine which storyboard to load. It gets the main storyboard based on whether it is an iPhone or iPad and the iPhone screen height to load the appropriate storyboard for iPhone 5 or other iPhone sizes. It then sets the root view controller and makes the window key and visible.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme RTF, PDF, TXT ou lisez en ligne sur Scribd
This code checks the device type and screen size on launch to determine which storyboard to load. It gets the main storyboard based on whether it is an iPhone or iPad and the iPhone screen height to load the appropriate storyboard for iPhone 5 or other iPhone sizes. It then sets the root view controller and makes the window key and visible.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme RTF, PDF, TXT ou lisez en ligne sur Scribd