Switched iPhoto app for Pages app

This commit is contained in:
Matt Coneybeare
2014-09-18 12:58:22 -04:00
parent 30b8a6bcbb
commit 15a60acb09
4 changed files with 78 additions and 43 deletions

View File

@@ -78,11 +78,16 @@ extension ViewController {
resetAppReviewManager()
// The AppID is the only required setup
Armchair.appID(iPhoto)
Armchair.appID(Pages)
// Debug means that it will popup on the next available change
Armchair.debugEnabled(true)
#if os(iOS)
// Explicitly disable the storeKit as the default may be true if on iOS 8
Armchair.opensInStoreKit(false)
#endif
// true here means it is ok to show, but it doesn't matter because we have debug on.
Armchair.userDidSignificantEvent(true)
}
@@ -91,7 +96,7 @@ extension ViewController {
resetAppReviewManager()
// The AppID is the only required setup
Armchair.appID(iPhoto)
Armchair.appID(Pages)
// Debug means that it will popup on the next available change
Armchair.debugEnabled(true)
@@ -133,6 +138,11 @@ extension ViewController {
// or you change the default title, message or button titles, set this to YES.
Armchair.useMainAppBundleForLocalizations(true)
#if os(iOS)
// Explicitly disable the storeKit as the default may be true if on iOS 8
Armchair.opensInStoreKit(false)
#endif
// This sets the Affiliate code you want to use, but is not required.
Armchair.affiliateCode("11l7j9")
@@ -180,12 +190,12 @@ extension ViewController {
resetAppReviewManager()
// The AppID is the only required setup
Armchair.appID(iPhoto)
Armchair.appID(Pages)
// Debug means that it will popup on the next available change
Armchair.debugEnabled(true)
// This overrides the default of NO and is iOS 6+. Instead of going to the review page in the App Store App,
// This overrides the default of NO in iOS 7. Instead of going to the review page in the App Store App,
// the user goes to the main page of the app, in side of this app. Downsides are that it doesn't go directly to
// reviews and doesn't take affiliate codes
Armchair.opensInStoreKit(true)