// // KMVerificationWindowController.h // PDF Reader Pro Edition // // Created by 王帅 on 2018/5/8. // #import typedef NS_ENUM(NSInteger, KMVerificationType) { KMVerificationTypeNormal, KMVerificationTypeActivate, KMVerificationTypeTrial, KMVerificationTypeActivateExpired, KMVerificationTypeTrialExpired, KMVerificationTypeTrialSuccess,//试用成功提示界面 KMVerificationTypeInfo, KMVerificationTypeRepeatTrialSuccess,//二次试用成功 KMVerificationTypeRepeatTrialGuide,//二次试用引导界面 KMVerificationTypeRepeatTrialExpire,//二次试用到期提示 KMVerificationTypeActivateAIInfo,//激活AI功能 }; @interface KMVerificationWindowController : NSWindowController @property (nonatomic, copy) void (^callback) (void); + (void)launching; + (KMVerificationWindowController *)verificationWithType:(KMVerificationType)type; + (BOOL)allowsShowExpired;//第一次过期弹窗显示判断 + (void)showExpiredInfo;//第一次过期弹窗提示 + (BOOL)allowRepeatTrialAlertShow;//是否在开启APP时弹出二次试用弹窗提示框 + (BOOL)allowRepeatTrialExpireShow;//是否允许弹出二次试用过期弹窗 @end