add
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
[self.view addSubview:self.tableView];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.backgroundColor = [UIColor lightGrayColor];
|
||||
self.tableView.backgroundColor = [UIColor whiteColor];
|
||||
self.tableView.separatorStyle = UITableViewCellSelectionStyleNone;
|
||||
self.tableView.sectionFooterHeight = 0;
|
||||
self.tableView.estimatedSectionFooterHeight= 0;
|
||||
@@ -49,7 +49,6 @@
|
||||
if(!cell){
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"GiGaSettingsViewCell" owner:self options:nil] lastObject];
|
||||
}
|
||||
|
||||
[cell loadCellDataAt:indexPath];
|
||||
return cell;
|
||||
|
||||
@@ -59,7 +58,6 @@
|
||||
|
||||
[tableView deselectRowAtIndexPath:indexPath animated:YES];
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
@@ -84,11 +82,13 @@
|
||||
[btn setTitle:@"退出登录" forState:UIControlStateNormal];
|
||||
btn.layer.masksToBounds = YES;
|
||||
btn.layer.cornerRadius = btn.frame.size.height / 2;
|
||||
btn.backgroundColor = [UIColor greenColor];
|
||||
btn.backgroundColor = GIGA_MAIN_BGCOLOR;
|
||||
[btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
[btn addTarget:self action:@selector(userLogOutAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[view addSubview:btn];
|
||||
|
||||
return view;
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
|
||||
Reference in New Issue
Block a user