1
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#import "KBLoginVM.h"
|
||||
#import "AppDelegate.h"
|
||||
#import "KBRegistVerEmailVC.h"
|
||||
#import "KBWebViewViewController.h"
|
||||
|
||||
@interface KBEmailRegistVC () <UITextViewDelegate, UITextFieldDelegate>
|
||||
|
||||
@@ -393,10 +394,10 @@
|
||||
|
||||
BOOL hitTerms = (termsRange.location != NSNotFound && NSLocationInRange(charIndex, termsRange));
|
||||
BOOL hitPrivacy = (privacyRange.location != NSNotFound && NSLocationInRange(charIndex, privacyRange));
|
||||
if (hitTerms || hitPrivacy) {
|
||||
KBLOG(@"tap policy in KBEmailRegistVC");
|
||||
// 后续可统一跳转到协议页
|
||||
[KBHUD showInfo:KBLocalized(@"Open agreement")];
|
||||
if (hitTerms) {
|
||||
[KBWebViewViewController presentLegalDocumentType:KBLegalDocumentTypeTermsOfService fromViewController:self];
|
||||
} else if (hitPrivacy) {
|
||||
[KBWebViewViewController presentLegalDocumentType:KBLegalDocumentTypePrivacyPolicy fromViewController:self];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user