forked from organicmaps/organicmaps
[ios] Replaced deprecated facebook method.
This commit is contained in:
parent
9d15a56f7b
commit
e4b65f84e2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ static NSString * const kStatisticsEvent = @"Facebook Alert";
|
|||
FBSDKAppInviteContent * const content = [[FBSDKAppInviteContent alloc] init];
|
||||
content.appLinkURL = [NSURL URLWithString:kFacebookAppName];
|
||||
content.appInvitePreviewImageURL = [NSURL URLWithString:kFacebookAlertPreviewImage];
|
||||
[FBSDKAppInviteDialog showWithContent:content delegate:nil];
|
||||
[FBSDKAppInviteDialog showFromViewController:self.alertController.ownerViewController withContent:content delegate:nil];
|
||||
}
|
||||
|
||||
- (IBAction)notNowButtonTap:(id)sender
|
||||
|
|
Loading…
Add table
Reference in a new issue