November 24, 2014
Language: Objective-C
> New Project
> Single View Application

> Projec tName: LunchImage01
> 確認 Identity
> 確認 Deployment Info
> 確認 App Icons and Lunch Images

確認一樣內容。
確認 LaunchScreen.xib
> View

刪除 L x2個 中的文字區塊
刪除Constraints
插入 Image View

拖放要使用的Image
Default-568h@2x.png
Default@2x.png
Default-568h@2x.png (iPhone 5 4" display 640 x 1136 pixels)
Default@2x.png (iPhone 4S 3.5" display 640 x 960 pixels)

iOS 8 為
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html#//apple_ref/doc/uid/TP40006556-CH22-SW1
settings_launch_2x.png
weather_launch_2x.png
For iPhone 6:
750 x 1334 (@2x) for portrait
1334 x 750 (@2x) for landscape
For iPhone 6 Plus:
1242 x 2208 (@3x) for portrait
2208 x 1242 (@3x) for landscape
Image View 設定

確保 image 四邊與手機四邊貼緊
也不容易出現移位或空白
Add New Constraints

按下Run 在 Simulator中測試
> New Project
> Single View Application
> Projec tName: LunchImage01
> 確認 Identity
> 確認 Deployment Info
> 確認 App Icons and Lunch Images
確認一樣內容。
確認 LaunchScreen.xib
> View
刪除 L x2個 中的文字區塊
刪除Constraints
插入 Image View
拖放要使用的Image
Default-568h@2x.png
Default@2x.png
Default-568h@2x.png (iPhone 5 4" display 640 x 1136 pixels)
Default@2x.png (iPhone 4S 3.5" display 640 x 960 pixels)
iOS 8 為
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html#//apple_ref/doc/uid/TP40006556-CH22-SW1
settings_launch_2x.png
weather_launch_2x.png
For iPhone 6:
750 x 1334 (@2x) for portrait
1334 x 750 (@2x) for landscape
For iPhone 6 Plus:
1242 x 2208 (@3x) for portrait
2208 x 1242 (@3x) for landscape
Image View 設定
確保 image 四邊與手機四邊貼緊
也不容易出現移位或空白
Add New Constraints
按下Run 在 Simulator中測試
0 Comment(s)