开发者

UITextField becomeFirstResponder but the keyboard doesn't showed

开发者 https://www.devze.com 2023-02-11 03:25 出处:网络
I create a uitextfield and explicitly I call: [myTextField setEn开发者_运维技巧abled:YES]; [myTextField becomeFirstResponder];

I create a uitextfield and explicitly I call:

[myTextField setEn开发者_运维技巧abled:YES];
[myTextField becomeFirstResponder];

but the keyboard isn't showed. Can I explicitly call the keyboard?

Thanks


have you checked if your textfield is properly initialized ? Or is it for some reason nil. or you did not connect it properly in IB ?
Maybe you can provide more information ?


this is possible if the user has an external keyboard enabled. You CANNOT explicitly call the keyboard

0

精彩评论

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