The page I want to open using twitter app:
https://twitter.com/#!/PAGE
To open twitter app I use the following code:
I know its quite a late response to this question and I agree that, Murat's answer is absolutely correct. Simply add a check as follows:
NSURL *urlApp = [NSURL URLWithString: [NSString stringWithFormat:@"%@", @"twitter:///user?screen_name=PAGE]];
if ([[UIApplication sharedApplication] canOpenURL:urlApp]){
[[UIApplication sharedApplication] openURL:urlApp];
}
I hope this helps someone. Cheers!! :)