SBRateApp 0.1.2

SBRateApp 0.1.2

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

无人认领 维护。



SBRateApp 0.1.2

  • 作者:
  • Santiago Bustamante

基于 iRate 但更简单的 iOS 评分应用框架

框架。

Podfile

platform :ios, '5.0'
pod "SBRateApp", "~> 0.1.2"

使用

  • 在您的代码中导入 SBRateApp.h
#import "SBRateApp.h"
  • 使用很简单,您只需要在您的应用的 AppDelegate 中插入以下代码,前两行是必需的,其余的是可选的。
[SBRateApp rateApp].appStoreID = 123456; //real AppStore ID from itunes
[SBRateApp rateApp].usesUntilPrompt = 5; //times until prompt the alert

//you can custom all about message, these options are optional
[SBRateApp rateApp].applicationName = @"My App"; //Optional

[SBRateApp rateApp].messageTitle = @"title custom";
[SBRateApp rateApp].message = @"Custom Message";
[SBRateApp rateApp].cancelButtonLabel = @"cancel custom";
[SBRateApp rateApp].remindButtonLabel = @"remind later custom";
[SBRateApp rateApp].rateButtonLabel = @"Rate now custom";

//you can execute this method to fire the rate action wherever you want
[[SBRateApp rateApp] rateNow];