个人信息修改
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#import "JXTAlertController.h"
|
||||
#import "GiGaUserDefault.h"
|
||||
#import "GiGaUserManager.h"
|
||||
#import "AppVerionDescriptionVC.h"
|
||||
|
||||
@interface GiSysSettingsVC ()
|
||||
|
||||
@@ -56,12 +57,32 @@
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
||||
if (indexPath.row == 0) {
|
||||
[self jxt_showAlertWithTitle:@"提示" message:@"确定清楚缓存?" appearanceProcess:^(JXTAlertController * _Nonnull alertMaker) {
|
||||
alertMaker.addActionCancelTitle(@"取消");
|
||||
alertMaker.addActionDefaultTitle(@"确定");
|
||||
} actionsBlock:^(NSInteger buttonIndex, UIAlertAction * _Nonnull action, JXTAlertController * _Nonnull alertSelf) {
|
||||
if (buttonIndex == 1) {
|
||||
GiGaSettingsViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
|
||||
cell.cachLabe.text = @"0M";
|
||||
|
||||
}
|
||||
|
||||
}];
|
||||
}else if (indexPath.row == 1){
|
||||
|
||||
}else if (indexPath.row == 2){
|
||||
|
||||
}else if (indexPath.row == 3){
|
||||
AppVerionDescriptionVC *verVC =[[AppVerionDescriptionVC alloc] init];
|
||||
[self.navigationController pushViewController:verVC animated:YES];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
return 54;
|
||||
return 44;
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
@@ -120,7 +141,7 @@
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
//http://yts.s1.natapp.cc/mask/clearZear.html
|
||||
-(void)userlogOut{
|
||||
|
||||
[[GiGaUserManager shareUser] loginOut];
|
||||
|
||||
Reference in New Issue
Block a user