开发者

Rotate iPhone Keyboard in Facebook Connect login dialog

开发者 https://www.devze.com 2022-12-09 23:18 出处:网络
How do I get the keyboard to show up at the bottom section of the screen on the iPhone when using the Facebook Connect iPhone library.I\'ve set UIInterfaceOrientation to UIInterfaceOrientationLandscap

How do I get the keyboard to show up at the bottom section of the screen on the iPhone when using the Facebook Connect iPhone library. I've set UIInterfaceOrientation to UIInterfaceOrientationLandscapeRight in my Info.plist file.

The login dial开发者_开发问答og has the correct orientation and the keyboard knows to some extent it should be rotated because it is showing the letters vertically as they are clicked.

The code i am using is:

_login = [[FBLoginDialog alloc] initWithSession: _session];
[_login show];

Screen-shot:

http://dl.getdropbox.com/u/2751604/IMG_0022.png http://dl.getdropbox.com/u/2751604/IMG_0022.png


You also need to set the UIStatusbarOrientation to UIInterfaceOrientationLandscapeRight. This will resolve this problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号