In iOS8, you can use a storyboard or xib file as the launch screen. Therefore, you can design a adaptive launch screen to fit in all devices that with different screen size. This save development time and no need to manage many launch images any more. If you start a new project, a LaunchScreen.xib is created for you by default. But you can still continue to use static launch image for iPhone 6 and 6 Plus. The resolution are listed below.
For iPhone 6:
- 750 x 1334 (@2x)
For iPhone 6 Plus:
- 1242 x 2208 (@3x)
在iOS8, 你可以使用storyboard或xib檔作為launch screen. 你可以計設一個適應性launch screen去配合所有不同呎吋的裝置. 這節省了開發時間及不需再管理很多launch image. 如果你新增一個project, 預設有一個xib作為launch screen. 但你還是可以繼續使用靜態launch image給iPhone 6及6 Plus. 以下是他們的解像度.
For iPhone 6:
- 750 x 1334 (@2x)
For iPhone 6 Plus:
- 1242 x 2208 (@3x)
Showing posts with label iOS8. Show all posts
Showing posts with label iOS8. Show all posts
05 October, 2014
22 July, 2014
Unified Storyboard
iOS 8 supports unified storyboard, which means you don't have to maintain separate storyboard for iPhone and iPad. iOS can determine how should the UI components display on the screen by detecting the traits. Here are 4 combinations.
iPad has a regular size class in vertical and horizontal directions in both portrait and landscape orientations.
iPhone has a regular size class in vertical direction and a compact size class in horizontal direction in portrait orientation. And has a compact size class in vertical and horizontal directions in landscape orientation.
You can select the horizontal trait and vertical trait when you are placing UI components.
If components are coded for regular class, they will disappear when in compact mode.
iPad has a regular size class in vertical and horizontal directions in both portrait and landscape orientations.
iPhone has a regular size class in vertical direction and a compact size class in horizontal direction in portrait orientation. And has a compact size class in vertical and horizontal directions in landscape orientation.
You can select the horizontal trait and vertical trait when you are placing UI components.
If components are coded for regular class, they will disappear when in compact mode.
Subscribe to:
Posts (Atom)





