File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ - (void)viewDidLoad {
2020 [super viewDidLoad ];
2121 // Do any additional setup after loading the view from its nib.
2222 NSString *appVersion = [[[NSBundle mainBundle ] infoDictionary ] objectForKey: @" CFBundleShortVersionString" ];
23- _versionLB.text = [NSString stringWithFormat: @" v %@ " ,appVersion];
23+ _versionLB.text = [NSString stringWithFormat: @" %@ " ,appVersion];
2424}
2525- (IBAction )jumpLinkSDK : (id )sender {
2626 LoginVC *loginVC = [[LoginVC alloc ]init];
Original file line number Diff line number Diff line change @@ -20,6 +20,16 @@ - (void)viewDidLoad {
2020 self.view .backgroundColor = [UIColor whiteColor ];
2121
2222 [self initVideoUI ];
23+
24+ NSString *appVersion = [TIoTCoreXP2PBridge getSDKVersion ];
25+ UILabel *versionLB = [[UILabel alloc ]init];
26+ versionLB.text = [NSString stringWithFormat: @" %@ " ,appVersion];
27+ [self .view addSubview: versionLB];
28+ [versionLB mas_makeConstraints: ^(MASConstraintMaker *make) {
29+ make.bottom .equalTo (self.view .mas_bottom ).offset (-16 );
30+ make.left .equalTo (self.view ).offset (16 );
31+ }];
32+
2333}
2434
2535- (void )initVideoUI {
You can’t perform that action at this time.
0 commit comments