[ios] Replaced deprecated facebook method.

This commit is contained in:
VladiMihaylenko 2015-12-22 18:05:30 +03:00
parent 9d15a56f7b
commit e4b65f84e2

View file

@ -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