1
This commit is contained in:
@@ -30,7 +30,7 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
|
||||
[super viewDidLoad];
|
||||
self.view.backgroundColor = [UIColor whiteColor];
|
||||
|
||||
self.title = @"My Skin"; // 标题
|
||||
// self.title = @"My Skin"; // 标题
|
||||
|
||||
// 右上角 Editor/Cancel
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Editor" style:UIBarButtonItemStylePlain target:self action:@selector(onToggleEdit)];
|
||||
@@ -43,9 +43,9 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
|
||||
[self.view addSubview:self.bottomView];
|
||||
|
||||
[self.collectionView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop);
|
||||
make.top.equalTo(self.view).offset(KB_NAV_TOTAL_HEIGHT);
|
||||
make.left.right.equalTo(self.view);
|
||||
make.bottom.equalTo(self.view.mas_bottom); // 底部被 bottomView 覆盖即可
|
||||
make.bottom.equalTo(self.view.mas_bottom);
|
||||
}];
|
||||
|
||||
[self.bottomView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
Reference in New Issue
Block a user