Skip to content

Commit e8aa6ce

Browse files
author
ccharlesren
committed
【APP】连连APP iOS隐私合规整改问题和解决方案:问题1 密码登录页面添加需勾选用户协议判断逻辑
Tapd: http://tapd.oa.com/NEW_IOT/prong/stories/view/1020393192871147007 Change-Id: Id29e80b257c02c5510642421fb0be173edb5dc27
1 parent ae09efc commit e8aa6ce

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Source/LinkApp/Classes/Module/Login/Controller/TIoTVCLoginAccountVC.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,11 @@ - (void)loginStyleChange:(UIButton *)sender {
886886

887887
- (void)loginSure {
888888

889+
if (!self.procolBtn.selected) {
890+
[MBProgressHUD showError:NSLocalizedString(@"agree_userAgreement_privacyPolicy", @"请同意用户协议和隐私协议后才能登录")];
891+
return;
892+
}
893+
889894
[self savePhoneOrEmailAccount];
890895

891896
NSDictionary *tmpDic = nil;

Source/LinkApp/Supporting Files/Resource/en.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,3 +975,4 @@ If the problem still persists, we recommend you remove the device and add it aga
975975
"content_copy_success" = "内容已复制";
976976
"access_photo_update_avatar" = "App需要访问您的相册用于上传头像";
977977
"turnon_photo_authorization" = "前往:设置开启相册授权";
978+
"agree_userAgreement_privacyPolicy" = "请同意用户协议和隐私协议后才能登录";

Source/LinkApp/Supporting Files/Resource/zh-Hans.lproj/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,3 +970,4 @@
970970
"content_copy_success" = "内容已复制";
971971
"access_photo_update_avatar" = "App需要访问您的相册用于上传头像";
972972
"turnon_photo_authorization" = "前往:设置开启相册授权";
973+
"agree_userAgreement_privacyPolicy" = "请同意用户协议和隐私协议后才能登录";

0 commit comments

Comments
 (0)