The page I want to open using twitter app:
To open twitter app I use the following code:
NSURL *urlApp = [NSURL URLWithString: [NSString stringWithFormat:@"%@", @"twitter://https://twitter.com/#!/PAGE"]];
[[UIApplication sharedApplication] openURL:urlApp];
But this code doesn’t seem to work as expected, I got only twitter app launched without the page which i want to show.
You are looking for the following url:
Note that Twitter is not installed on all devices. You should check the result of
openURLmethod. If it fails, open the page in Safari with regular url.