博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年9月23日

摘要: How can I programmatically assign focus to a specific UITextField in a view? I have several fields and on view display, I'd like to put the cursor on a specific field, not the first one at top.Try doing this inviewWillAppear:[desiredField becomeFirstResponder];By making the field the first respo 阅读全文

posted @ 2011-09-23 15:29 星尘的天空 阅读(2667) 评论(0) 推荐(0) 编辑