fixed:首页&消息页面&看看页面&服务等页面的适配
This commit is contained in:
+3
-5
@@ -122,7 +122,7 @@
|
||||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
@@ -132,7 +132,7 @@
|
||||
UIButton *qiandaoBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
CGFloat btnH = self.view.frame.size.width * 0.13;
|
||||
|
||||
qiandaoBtn.frame = CGRectMake(0,self.view.frame.size.height - btnH, self.view.frame.size.width, btnH);
|
||||
qiandaoBtn.frame = CGRectMake(0,0, self.view.frame.size.width, btnH);
|
||||
IfishUserAsset *asset = [dataContorl getAllIfishUserAsset];
|
||||
|
||||
qiandaoBtn.backgroundColor = asset.toDaySignin ? RGB(221, 221,221):RGB(0, 184, 329);
|
||||
@@ -149,9 +149,7 @@
|
||||
}
|
||||
|
||||
[qiandaoBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
[self.view addSubview:qiandaoBtn];
|
||||
[self.view bringSubviewToFront:qiandaoBtn];
|
||||
|
||||
self.tableView.tableFooterView = qiandaoBtn;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user