We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have a first app which performs a navigation to the second app:
- (IBAction)open:(id)sender { NSURL *url = [[NSBundle mainBundle] URLForResource:@"index" withExtension:@"html"]; [[BFAppLinkNavigation resolveAppLinkInBackground:url] continueWithSuccessBlock:^id(BFTask *task) { BFAppLink *link = task.result; BFAppLinkNavigation *navigation = [BFAppLinkNavigation navigationWithAppLink:link extras:@{ @"_test_": @"SURPRISE mother fucker!" } appLinkData:@{ @"referer_app_link": @{ @"url": @"applinks://", @"app_name": @"AppLinks" }}]; NSError *error = nil; [navigation navigate:&error]; return task; }]; }
The second app shows up but the back view is missing and the app crashes without any output.. did I miss something ?
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; if (self.appLinkReturnToRefererView) { self.appLinkReturnToRefererView.hidden = YES; } AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate]; if (delegate.parsedUrl) { self.appLink = [delegate.parsedUrl appLinkReferer]; [self _showRefererBackView]; } delegate.parsedUrl = nil; } - (void) _showRefererBackView { if (nil == self.appLinkReturnToRefererView) { // Set up the back link navigation view BFAppLinkReturnToRefererView *backLinkView = [[BFAppLinkReturnToRefererView alloc] initWithFrame:CGRectMake(0, 30, 320, 40)]; self.appLinkReturnToRefererView = backLinkView; } self.appLinkReturnToRefererView.hidden = NO; // Initialize the back link view controller BFAppLinkReturnToRefererController *alc =[[BFAppLinkReturnToRefererController alloc] init]; alc.view = self.appLinkReturnToRefererView; // Display the back link view [alc showViewForRefererAppLink:self.appLink]; }
EDIT:
If I use the solution without using Bolts, everything is fine. I followed this tutorial:
https://developers.facebook.com/docs/ios/share/#linking
It there an issue in the BFAppLinkReturnToRefererView class ?
BFAppLinkReturnToRefererView
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have a first app which performs a navigation to the second app:
The second app shows up but the back view is missing and the app crashes without any output.. did I miss something ?
EDIT:
If I use the solution without using Bolts, everything is fine. I followed this tutorial:
It there an issue in the
BFAppLinkReturnToRefererView
class ?The text was updated successfully, but these errors were encountered: