开发者

Keyboard taking FOREVER to popup on iPhone app while Debugging

In my app which is very basic right now (2 nested TableView menus and a single prebuilt View) my prebuilt View that contains 2 labels, 2 textfields and 1 button acts very strangely. If I run in debug mode and click on one of the textfields it takes approximately 10-15 seconds before the keyboard pops up and nothing else works while waiting for it.

If I run the Leaks Performance Tool t开发者_StackOverflowhe app runs very snappy with no problem though.

Anyone seen this before? Any idea why it would be doing that?


I'd take a hard look at the memory usage of the App.

Are you doing any thing in the background of the apps while displaying the KB?


I had a similar problem! Strangely enough having tasks running in a background queue were interfering with the keyboard popping up. This was solved by placing the following line in the viewWillAppear which caused the keyboard to pop up when the view loaded: [myTextField becomeFirstResponder];


i think u wont set up the first responder for that textfield .

verify your first responder to textfield

sounds like u enable that textfield from somewhere else.which is lately.

confirm the delegate is conected to fileowner of textfield

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜