报刊杂志 App 的 Info.plist 必须包含 UINewsstandApp.error.message=true,以及 CFBundleIcons.UINewsstandIcon 字典

发布杂志类的APP,按照原步骤提示出:
 报刊杂志 App 的 Info.plist 必须包含 UINewsstandApp.error.message=true,以及 CFBundleIcons.UINewsstandIcon 字典。

修改Info.plist 
1.根节点下新增“ Application presents content in Newsstand” 源代码里是UINewsstandApp =true
官网说明:

UINewsstandApp

UINewsstandApp (Boolean - iOS) specifies the whether the app presents its content in Newsstand. Publishers of newspaper and magazine content use the Newsstand Kit framework to handle the downloading of new issues. However, instead of those apps showing up on the user’s Home screen, they are collected and presented through Newsstand. This key identifies the apps that should be presented that way. Such apps must also provide default Newsstand icons as described in Contents of the UINewsstandIcon Dictionary. This key is supported in iOS 5.0 and later. 2.CFBundleIcons.节点下新增 UINewsstandIcon
 
CFBundleIcons 在视图里叫 Icon files(IOS5 )。  在源代码里叫 	<key>CFBundleIcons</key>


 
官网说明:

Contents of the UINewsstandIcon Dictionary

The value for the UINewsstandIcon key is a dictionary that identifies the default icons and style options to use for apps displayed in Newsstand. Table 5 lists the keys that you can include in this dictionary and their values.
Table 5  Keys for the  UINewsstandIcon dictionary

Key

Value

Description

CFBundleIconFiles

Array of strings

(Required) Each string in the array contains the name of an icon file. You use this key to specify a set of standard icons for your app when presented in the Newsstand. This icon is used when no cover art is available for a downloaded issue.

For a list of the icons, including their sizes, that you can include in your app bundle, see the section on app icons in App-Related Resources in App Programming Guide for iOS. For information about how to create icons for your apps, see iOS Human Interface Guidelines.

UINewsstandBindingType

String

This key provides information about how to stylize any Newsstand art. The value of this key is one of the following strings:

  • UINewsstandBindingTypeMagazine

  • UINewsstandBindingTypeNewspaper

UINewsstandBindingEdge

String

This key provides information about how to stylize any Newsstand art. The value of this key is one of the following strings:

  • UINewsstandBindingEdgeLeft

  • UINewsstandBindingEdgeRight

  • UINewsstandBindingEdgeBottom

新增的UINewsstandIcon选择Dictionary类型,然后在下边添加UINewsstandBindingType节点 值为UINewsstandBindingTypeMagazine






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dingsai88

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值