也就是说,这是我在报亭图标上试过的图标,icon-newsstand.png:
>将icon-newsstand.png转换为位于./Images.xcassets/icon-newsstand.imageset/icon-newsstand.png中的资产目录.
>在我的Resources文件夹中保留icon-newsstand.png作为项目的一部分.
这些解决方案都不起作用.这是我的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> <string>UIInterfaceOrIEntationLandscapeleft</string> <string>UIInterfaceOrIEntationLandscapeRight</string> </array> <key>UISupportedInterfaceOrIEntations~ipad</key> <array> <string>UIInterfaceOrIEntationPortrait</string> <string>UIInterfaceOrIEntationPortraitUpsIDeDown</string> <string>UIInterfaceOrIEntationLandscapeleft</string> <string>UIInterfaceOrIEntationLandscapeRight</string> </array> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLname</key> <string>FB Connect</string> <key>CFBundleURLSchemes</key> <array> <string>fb150871295037449------</string><!-- The app ID must be appended to the end of this string. Example: <string>fb150871295037449connections</string> --> </array> </dict> </array></dict></pList>
在升级Xcode并转换为图像资产目录后,有没有人遇到过这种情况?有没有人有任何想法从哪里开始改变我的项目?从我的搜索到目前为止,在报亭和Xcode 5问题方面,在线和StackOverflow的细节都很少.
我非常感谢任何帮助.谢谢!
解决方法 我发现这个问题只发生在iPad上.从那次发现开始,我意识到我的info.pList中缺少一个看起来像这样的部分:<key>CFBundleIcons~ipad</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>
谜团已揭开!
总结以上是内存溢出为你收集整理的报亭图标未在Xcode 5 iOS 6.1 SDK中显示全部内容,希望文章能够帮你解决报亭图标未在Xcode 5 iOS 6.1 SDK中显示所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)