开发者

2nd uitextfield in modal view not taking keyboard input

I am presenting my modal view using UIModalPresentationFormSheet and I am aware some have had issues resigning first responder and dimissing the keyboard in the past, but my issue is开发者_Go百科 that the second textfield I pick I can't input text. This is hapenning in iPad simulator 4.3.

This happens if I select the second uitextfield while the keyboard of the first textfield is still visible. The cursor will move to the second textfield, but I am unable to edit it. Most of the time I am unable to click the bottom right button which would dismiss the keyboard in iPad, but if it works, I can then select the second textfield and be able to edit it.

Has anyone encountered these issues before?

I am also implementing

-(BOOL)disablesAutomaticKeyboardDismissal { return NO }

Even though this is not a solution it is a workaround. Basically you use a pagesheet instead of form, and resize it.

UIModalPresentationFormSheet resizing view


Even though this is not a solution it is a workaround. Basically you use a pagesheet instead of form, and resize it.

UIModalPresentationFormSheet resizing view

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜