小编Ste*_*e-o的帖子

报亭图标未在Xcode 5 iOS 6.1 SDK中显示

自从将Xcode升级到v5并将启动和应用程序图标图像转换为图像资产目录后,我无法在iOS 6.1和iOS 7的报亭中看到我的应用程序的报亭图标.相反,我在其位置看到常规应用程序图标.我仍然在编译iOS SDK 6.1,因为iOS 7中的风格明显变化,我还没有深入测试.

也就是说,这是我在报亭图标上试过的图标,icon-newsstand.png:

  1. 将icon-newsstand.png转换为位于./Images.xcassets/icon-newsstand.imageset/icon-newsstand.png中的资产目录.
  2. 将icon-newsstand.png保存在我的Resources文件夹中作为项目的一部分.

这些解决方案都不起作用.这是我的info.plist也供参考.我已经修改了应用程序名称,仅供参考.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleDisplayName</key>
    <string>---- ----</string>
    <key>CFBundleExecutable</key>
    <string>${EXECUTABLE_NAME}</string> 
    <key>CFBundleIcons</key>
    <dict>
        <key>UINewsstandIcon</key>
        <dict>
            <key>CFBundleIconFiles</key>
            <array>
                <string>icon-newsstand.png</string>
            </array>
            <key>UINewsstandBindingEdge</key>
            <string>UINewsstandBindingEdgeLeft</string>
            <key>UINewsstandBindingType</key>
            <string>UINewsstandBindingTypeMagazine</string>
        </dict>
    </dict>
    <key>UIBackgroundModes</key>
    <array>
        <string>newsstand-content</string>
    </array>
    <key>UINewsstandApp</key>
    <true/>
    <key>CFBundleIdentifier</key>
    <string>com.----.----</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.1</string>
    <key>CFBundleName</key>
    <string>---- ----</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>2.0.1.13830</string> <!-- The Version of the app. -->
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>UIPrerenderedIcon</key>
    <true/>
    <key>UIStatusBarHidden</key>
    <true/>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string> …
Run Code Online (Sandbox Code Playgroud)

xcode ios newsstand-kit xcode5 asset-catalog

3
推荐指数
1
解决办法
964
查看次数

标签 统计

asset-catalog ×1

ios ×1

newsstand-kit ×1

xcode ×1

xcode5 ×1