关于我的添加版权文字
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
@property (nonatomic, strong) UIView *privacyView;
|
||||
@property (nonatomic, strong) UILabel *privacyLabel;
|
||||
@property (nonatomic, strong) UIImageView *privacyImageView;
|
||||
|
||||
@property (nonatomic, strong) UILabel *companyTitleLabel;
|
||||
@end
|
||||
|
||||
@implementation MewMineAboutUsViewController
|
||||
@@ -70,6 +72,8 @@
|
||||
[self.view addSubview:self.privacyView];
|
||||
[self.privacyView addSubview:self.privacyLabel];
|
||||
[self.privacyView addSubview:self.privacyImageView];
|
||||
|
||||
[self.view addSubview:self.companyTitleLabel];
|
||||
}
|
||||
|
||||
- (void)makeConstriants {
|
||||
@@ -111,6 +115,11 @@
|
||||
make.right.equalTo(self.privacyView).offset(-24);
|
||||
make.centerY.equalTo(self.privacyView);
|
||||
}];
|
||||
|
||||
[self.companyTitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.bottom.mas_equalTo(-kTabBarHeight);
|
||||
make.centerX.equalTo(self);
|
||||
}];
|
||||
}
|
||||
|
||||
#pragma mark - Getter && Setter
|
||||
@@ -193,4 +202,15 @@
|
||||
}
|
||||
return _titleLabel;
|
||||
}
|
||||
|
||||
- (UILabel *)companyTitleLabel{
|
||||
if(!_companyTitleLabel){
|
||||
_companyTitleLabel = [[UILabel alloc] init];
|
||||
_companyTitleLabel.text = @"南宁冰创网络科技有限公司 版权所有";
|
||||
_companyTitleLabel.textColor = UIColorMewFromRGB(0xA2A7B8);
|
||||
_companyTitleLabel.font = kFontMedium(12);
|
||||
_companyTitleLabel.textAlignment = NSTextAlignmentCenter;
|
||||
}
|
||||
return _companyTitleLabel;
|
||||
}
|
||||
@end
|
||||
|
Reference in New Issue
Block a user