2

I am new to ios development and i am facing the strange problem when we split the keyboard.

I am using custom keypad for data input in the textfield so i hide system keyboard and for that i have used the method [textfield setInputview:label]; in that i am giving textfield inputview to label of size(0,0,1,1).

Now when there is splitkeyboard then there is a gray line in bottom! And when there is normal keyboard(Without Split) then there is no problem.

4

2 回答 2

0

尝试使用 (0, 0, 0, 0) 大小作为inputView标签,这对我来说效果很好(在我的情况下,我使用UIView(0, 0, 0, 0) 大小inputView来解决这个问题)。

于 2013-07-22T16:53:07.750 回答
0

我记得苹果给我发了一条关于 ios 6.1 beta 2 预更新的信息,解决了这个问题。你也应该收到那封电子邮件。(苹果开发者)

于 2012-11-29T09:20:02.650 回答