1
This commit is contained in:
@@ -9,9 +9,22 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef NS_ENUM(NSInteger, KBLegalDocumentType) {
|
||||
KBLegalDocumentTypeTermsOfService = 0,
|
||||
KBLegalDocumentTypePrivacyPolicy,
|
||||
KBLegalDocumentTypeMembershipAgreement,
|
||||
};
|
||||
|
||||
@interface KBWebViewViewController : BaseViewController
|
||||
|
||||
@property(nonatomic,copy) NSString * url;
|
||||
@property(nonatomic,copy,nullable) NSString * htmlString;
|
||||
@property(nonatomic,copy,nullable) NSString * pageTitle;
|
||||
|
||||
+ (instancetype)legalViewControllerWithType:(KBLegalDocumentType)type;
|
||||
+ (void)presentLegalDocumentType:(KBLegalDocumentType)type fromViewController:(UIViewController *)viewController;
|
||||
+ (nullable NSNumber *)legalDocumentTypeNumberFromQueryValue:(NSString *)queryValue;
|
||||
+ (NSString *)queryValueForLegalDocumentType:(KBLegalDocumentType)type;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user