For iOS5 we can refer : Prompt login alert with Twitter framework in iOS5?
But for iOS6 that will not helpfull i have tried in following way but there is 1 keyboard appearance issue is present is there any one who can help me on this :
SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
tweetSheet.view.hidden=TRUE;
[self presentViewController:tweetSheet animated:YES completion:^{
[tweetSheet.view endEditing:YES];
}];
Clear the app's data From your device's home screen, tap the Settings icon. Select Applications. Select the Twitter app, scroll down and tap Clear Data. If you've cleared your data but are still experiencing the issue, try turning your phone off and then on.
I have make one small change and the issue gone away
in above code when presenting viewcontroller just set animated:NO
[self presentViewController:tweetSheet animated:NO completion:^{ [tweetSheet.view endEditing:YES]; }]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With