mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
change AboutView
This commit is contained in:
parent
b746d9e8ed
commit
62402c1ed8
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
_nameLabel.text = name;
|
||||
NSString *curVersion = [NSString stringWithFormat:@"version %@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]];
|
||||
_appVersionLabel.text = [NSString stringWithFormat:@"%@ iOS %@", name, curVersion];
|
||||
_libVersionLabel.text = [NSString stringWithFormat:@"%@ Core %s", name, linphone_core_get_version()];
|
||||
_libVersionLabel.text = [NSString stringWithFormat:@"%@ SDK %s", name, LINPHONE_SDK_VERSION];
|
||||
UITapGestureRecognizer *tapGestureRecognizer =
|
||||
[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onLicenceTap)];
|
||||
tapGestureRecognizer.numberOfTapsRequired = 1;
|
||||
|
|
@ -75,7 +75,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
}
|
||||
|
||||
- (IBAction)onPolicyTap {
|
||||
NSString *url = @"http://www.linphone.org/privacy-policy.html";
|
||||
NSString *url = @"https://www.linphone.org/terms-and-privacy";
|
||||
if (![UIApplication.sharedApplication openURL:[NSURL URLWithString:url]]) {
|
||||
LOGE(@"Failed to open %@, invalid URL", url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue