1
Setting:
- I own an app, which has a link to a particular page on facebook.
- When the user clicks on the link, it should be directed to the page and load it with Safari.
But if you have the Facebook App installed on your iPhone, iOS directs the link to the App and the Facebook App doesn’t show the page.
Would anyone know how to determine that a link must be opened in Safari, not the Facebook App?
Code used: Objective-C.
Are you wearing a
UIWebView
?– André Ribeiro
No. Somente um link na action:

´ - (IBAction)linkFacebook:(id)sender {
 
 [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"https://www.facebook.com/********"]];
}´
– Tiago Amaral
I think I found a solution, I’ll do some tests and as it is I’ll report here.
– Tiago Amaral
Well the solution I tried was to remove "http://www." from Urk and only facebook.com/*****. But it didn’t work.
– Tiago Amaral
Take a look in that issue from the OR, I think it might help.
– Paulo Rodrigues