I am trying to open my app via the Facebook app's status but my link shows up as text instead of a link. It does works with both SMS and Email but does not FB or Twitter status'.
I have a URL Scheme set up in my Info.plist. My link is (appName is my URL Scheme name given)
Also I am calling FB, Twitter, & everything else with
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:sharingItems applicationActivities:nil];
[activityController setCompletionHandler:^(NSString *activityType, BOOL completed)
{
bubbleTable.typingBubble = NSBubbleTypingTypeNobody;
NSBubbleData *sayBubble = [NSBubbleData dataWithText:textField.text date:[NSDate dateWithTimeIntervalSinceNow:0] type:BubbleTypeMine];
[bubbleData addObject:sayBubble];
[bubbleTable reloadData];
textField.text = @"";
NSLog(@"%@, %d", activityType, completed);
}];
[self presentViewController:activityController animated:YES completion:nil];
Trying to keep everything native to iOS.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.