BTStoreView 1.2

BTStoreView 1.2

测试已测试
Lang语言 Obj-CObjective C
许可 zlib
发布上次发布2014年12月

Borut Tomazin维护。



  • Borut Tomažin

目的

在应用内部的应用商店窗口。

预览

iPhone portrait

ARC 支持

BTStoreView 完全支持 ARC。

支持操作系统

iOS 5+

安装

pod ‘BTStoreView’ 添加到你的 Podfile,或将类文件(BTStoreView.{h,m})拖入你的项目中。

注意

由于 iOS 7+,无法在模拟器运行应用程序时显示 StoreKit。

方法

+ (instancetype)sharedInstance;

BTStoreView 单例方法。

- (void)openAppStorePageForAppId:(NSInteger)appId;

打开传递的 appId 的应用商店页面。

属性

@property (nonatomic, weak) id<BTStoreViewDelegate> delegate;

BTStoreView Delegate 对象。

@property (nonatomic, assign) BOOL shouldDiscardCustomTintColor;

重置 [UINavigationBar appearance] 协议属性 barTintColor 到系统默认值。(默认 YES)。

代理方法

- (void)BTStoreViewDidAppear;

BTStoreView 显示时的代理方法。

- (void)BTStoreViewDidDismiss;

BTStoreView 隐藏时的代理方法。

- (void)BTStoreViewFailedToPresentWithinApp;

BTStoreView 在应用内打开应用商店失败时的代理方法。

- (void)BTStoreViewFailedToOpenInAppStore;

BTStoreView 在应用商店应用中打开失败时的代理方法。