Support of iOS 5.0 icons with XCode 5

前端 未结 7 849
走了就别回头了
走了就别回头了 2021-02-04 12:06

I\'m using the new asset catalog AppIcon to set the right icons for iOS 5 (in theory), 6 and 7. Unfortunately, when installing the application on my iPad 1 (with iOS 5.1.1), the

7条回答
  •  余生分开走
    2021-02-04 12:35

    I finally found a working solution. I don't use anymore the asset catalog. And I put these lines in my info.plist file:

    CFBundleIconFile
    Icon-57.png
    CFBundleIconFiles
    
        Icon-72.png
        Icon-72@2x.png
        Icon-57.png
        Icon-57@2x.png
        Icon-60@2x.png
        Icon-60.png
        Icon-76@2x.png
        Icon-76.png
        Icon-29@2x.png
        Icon-29.png
        Icon-50@2x.png
        Icon-50.png
        Icon-40@2x.png
        Icon-40.png
    
    CFBundleIcons
    
        CFBundlePrimaryIcon
        
            CFBundleIconFiles
            
                Icon-72@2x.png
                Icon-57.png
                Icon-72.png
            
            UIPrerenderedIcon
            
        
    
    

    It's working like a charm now :)

提交回复
热议问题