移除重启设备功能

This commit is contained in:
xuemh
2018-08-08 20:20:35 +08:00
parent 4a4194a6f4
commit f8009af9c0
6 changed files with 2 additions and 228 deletions
@@ -13,7 +13,6 @@
#import "ChangeSecretCodeController.h"
#define TUICHUAlertTAg 4100
#import "IfishUserDefaultHelper.h"
#import "RestartViewController.h"
#import "SettingResetViewController.h"
@interface IfishSetViewController ()<UITableViewDelegate,UITableViewDataSource,UIAlertViewDelegate>
@@ -35,8 +34,8 @@ extern BOOL firstLogIn;
}
-(void)loadData{
self.titles=@[@[@"更换手机",@"修改密码",@"设备重启",@"恢复出厂模式"],@[@"切换账号"]];
self.imgs = @[@[@"personal_iocn_replace",@"replace_iocn_code",@"setting-restart",@"setting-reset"],@[@"personal_iocn_switch"]];
self.titles=@[@[@"更换手机",@"修改密码",@"恢复出厂模式"],@[@"切换账号"]];
self.imgs = @[@[@"personal_iocn_replace",@"replace_iocn_code",@"setting-reset"],@[@"personal_iocn_switch"]];
}
-(void)creatTab{
@@ -120,11 +119,6 @@ extern BOOL firstLogIn;
[self.navigationController pushViewController:secretVC animated:YES];
} else if (indexPath.section == 0 && indexPath.row == 2) {
self.hidesBottomBarWhenPushed = YES;
RestartViewController *vc = [[RestartViewController alloc] initWithNibName:@"RestartViewController" bundle:nil];
vc.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:vc animated:YES];
} else if (indexPath.section == 0 && indexPath.row == 3) {
self.hidesBottomBarWhenPushed = YES;
SettingResetViewController *vc = [[SettingResetViewController alloc] initWithNibName:@"SettingResetViewController" bundle:nil];
vc.hidesBottomBarWhenPushed = YES;