Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter Framework for ios6 how to login through settings from app

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];
}];
like image 591
RayofHope Avatar asked Dec 19 '12 05:12

RayofHope


People also ask

Why is my Twitter app not working?

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.


1 Answers

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];
    }]

like image 164
RayofHope Avatar answered Oct 14 '22 10:10

RayofHope