diff --git a/yinmeng-ios/yinmeng-ios/Main/Mine/View/Setting/MewMineAboutUsViewController.m b/yinmeng-ios/yinmeng-ios/Main/Mine/View/Setting/MewMineAboutUsViewController.m index a6fe0bf..542cefb 100644 --- a/yinmeng-ios/yinmeng-ios/Main/Mine/View/Setting/MewMineAboutUsViewController.m +++ b/yinmeng-ios/yinmeng-ios/Main/Mine/View/Setting/MewMineAboutUsViewController.m @@ -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