Launch Image names of iPhoneX?

后端 未结 5 1600
渐次进展
渐次进展 2021-02-07 01:12

A question about iPhoneX. I want put Launch Image of iPhoneX( 1125px × 2436px) in common folder. Not in LaunchImage source. What\'s the Launch Image names of iPhoneX? just

5条回答
  •  伪装坚强ぢ
    2021-02-07 01:34

    You can define the names in your Info.plist using the UILaunchImages Key:

    UILaunchImages
    
        
            UILaunchImageMinimumOSVersion
            8.0
            UILaunchImageName
            Default-736h
            UILaunchImageOrientation
            Portrait
            UILaunchImageSize
            {414, 736}
        
        
            UILaunchImageMinimumOSVersion
            8.0
            UILaunchImageName
            Default-667h
            UILaunchImageOrientation
            Portrait
            UILaunchImageSize
            {375, 667}
        
        
            UILaunchImageMinimumOSVersion
            7.0
            UILaunchImageName
            Default
            UILaunchImageOrientation
            Portrait
            UILaunchImageSize
            {320, 480}
        
        
            UILaunchImageMinimumOSVersion
            7.0
            UILaunchImageName
            Default-568h
            UILaunchImageOrientation
            Portrait
            UILaunchImageSize
            {320, 568}
        
        
            UILaunchImageMinimumOSVersion
            8.0
            UILaunchImageName
            Default-812h
            UILaunchImageOrientation
            Portrait
            UILaunchImageSize
            {375, 812}
        
    
    

    Landscape images would work the same.

提交回复
热议问题