iOS6 Twitter integration
- by Peter Warbo
There seems to be a difference between the iPhone simulator and actual device when checking if Twitter is available.
I check if a Twitter account is setup by using this code: [SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter];
In the simulator there is a nice UIAlertView informing the user that there are no Twitter accounts setup and two buttons one for Settings and one for Cancel.
However when I run my app on my device it will not show the above UIAlertView. Why is that? And how can I catch what button is tapped in the above UIAlertView (since I did not instantiate it?)
This is what it looks like on the simulator: