开发者

Appearing the iphone keyboard when the view is loading

hai all,

in my iphone application i have a login view with two text fields, one for user name and one for password, after the view appear the user need to tap on one of the text field then o开发者_Python百科nly the key board appear so that they can enter text, is there any way to put the keyboard up when the view is loaded (ie, the user can directly start typing- no need to tap the username filed) and also i would like to move the focus from user name filed to password field when the user taps next button in the key board ,

thanks in advance shinto


[myTextField becomeFirstResponder]

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜