-
Notifications
You must be signed in to change notification settings - Fork 377
3.2 Newsstand support
Note: this page is obsolete, and it only applies to version 3.2 of the framework. See 4.0 tutorial for Newsstand for the most recent version.
The development version of Baker supports basic Newsstand integration, showing up your publications from inside Newsstand. This is not a complete integration, and to be approved from Apple you need to include auto-updates.
The progress of this integration is tracked in issue #100.
There are two parts that compose a Newsstand app:
- The Newsstand folder support (Baker-ready)
- The automatic update and issue download (you need to implement this on your own)
The parameter UINewsstandApp
in the info.plist
file specifies whether the app will show up in the Newsstand folder.
To deactivate Newsstand for the app, open from Xcode info.plist and add the line:
UINewsstandApp = NO
To activate Newsstand for the app, add the line:
UINewsstandApp = YES
Newsstand support is off by default in Baker - as to get approval by Apple it would not be enough to just enable this property.
Notice that you can edit this property from inside the Xcode interface (inside the Info tab for the main target).
This will only work on iOS 5+. On iOS 4.2 (and older) the app will be presented as a standard application regardless of the value of the UINewsstandApp
property.
The following parameter, when specified in the info.plist
file, will enable Newsstand background downloads (currently unsupported by Baker):
UIBackgroundModes = newsstand-content
This part is still missing from Baker. If you plan to use Newsstand, please include it for your app to be approved by Apple.