File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Source/LinkApp/Classes/Module Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ - (void)setupUIWithVersionInfo:(NSDictionary *)versionInfo {
9797 UILabel *versionNumLabel = [[UILabel alloc ] init ];
9898 versionNumLabel.textColor = kRGBColor (136 , 136 , 136 );
9999 versionNumLabel.font = [UIFont wcPfRegularFontOfSize: 14 ];
100- versionNumLabel.text = [NSString stringWithFormat: @" 版本号:V %@ " , [versionInfo objectForKey: @" AppVersion" ]];
100+ versionNumLabel.text = [NSString stringWithFormat: @" 版本号:%@ " , [versionInfo objectForKey: @" AppVersion" ]];
101101 [paramView addSubview: versionNumLabel];
102102 [versionNumLabel mas_makeConstraints: ^(MASConstraintMaker *make) {
103103 make.top .equalTo (paramView).offset (9 );
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ - (void)viewDidLoad {
3434 NSString *appVersion = [info objectForKey: @" CFBundleShortVersionString" ];
3535 self.versionLab .numberOfLines = 2 ;
3636 self.versionLab .textAlignment = NSTextAlignmentCenter;
37- self.versionLab .text = [NSString stringWithFormat: @" v %@ " ,appVersion];
37+ self.versionLab .text = [NSString stringWithFormat: @" %@ " ,appVersion];
3838 [self checkNewVersion ];
3939}
4040
@@ -84,7 +84,7 @@ - (void)checkNewVersion {
8484 NSString *theVersion = [versionInfo objectForKey: @" AppVersion" ];
8585 if (theVersion.length && [self isTheVersion: theVersion laterThanLocalVersion: appVersion]) {
8686 self.showLastestVerion = YES ;
87- self.versionLab .text = [NSString stringWithFormat: @" 当前版本\n v %@ " ,appVersion];
87+ self.versionLab .text = [NSString stringWithFormat: @" 当前版本\n %@ " ,appVersion];
8888 }
8989 }
9090 } failure: ^(NSString *reason, NSError *error,NSDictionary *dic) {
You can’t perform that action at this time.
0 commit comments