添加无网络去设置,优化多语言
This commit is contained in:
@@ -239,6 +239,7 @@
|
||||
-(void)getNetJudge {
|
||||
AFNetworkReachabilityManager *netManager = [AFNetworkReachabilityManager sharedManager];
|
||||
[netManager startMonitoring];
|
||||
__weak typeof(self) weakSelf = self;
|
||||
[netManager setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status){
|
||||
if (status == AFNetworkReachabilityStatusReachableViaWiFi){
|
||||
// [PublicObj saveNetReachability:@"wifi"];
|
||||
@@ -246,8 +247,12 @@
|
||||
// [PublicObj saveNetReachability:@"wwan"];
|
||||
}else{
|
||||
// [PublicObj saveNetReachability:@"unknown"];
|
||||
|
||||
}
|
||||
|
||||
// 网络状态变化时检查一次,并在无网络时弹出“去设置 / 取消”提示框
|
||||
__strong typeof(weakSelf) strongSelf = weakSelf;
|
||||
if (!strongSelf) { return; }
|
||||
[strongSelf kb_checkNetworkAndShowAlertIfNeeded];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
self.titleLabel.text = @"Become A Member Of Love Key";
|
||||
self.subTitleLabel.text = @"Unlock All Functions";
|
||||
|
||||
NSArray *titles = @[@"Wireless Sub-ai\nDialogue",
|
||||
NSArray *titles = @[@"Wireless Sub-ai Dialogue",
|
||||
@"Personalized\nKeyboard",
|
||||
@"Chat\nPersona",
|
||||
@"Emotional\nCounseling"];
|
||||
|
||||
Reference in New Issue
Block a user