2010-12-10 37 views
1

如何在横向模式下编辑UITextfield时,如何要求UIKeyboard从iPhone屏幕底部(侧面,即纵向左侧或右侧)出现?iphone UIKeyboard风景

把更简单,我需要一个风景UIKeyboard。

回答

1

尝试实施shouldAutoRotateToInterfaceOrientation方法。

+0

这很有希望。现在,你说,它再次尝试。我必须取消注释,并在错误的UIViewController中返回YES(或者不经常返回YES,我忘记了)。我需要一个像 - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation持续时间:(NSTimeInterval)持续时间的方法,以在旋转之前更改视图。感谢你及时的答复。 – SK9 2010-12-10 06:45:27

1

我不确定你可以。我想你会搞乱的inputView,无论是通过继承inputView或重写firstResponder的某些属性。

+0

感谢您的回答。我认为Jumhyn是要走的路。 – SK9 2010-12-10 06:46:18