开发者

Set focus on mail message when composing mail on iPad

in an application I am building I implemented a function to let users send email back as feedback. The default mail compose screen shows up on my iPad, but I would like to replicate native Mail.app feature, so that the keyboard will show up开发者_StackOverflow and it will be focused on the message when the modal mail view appears.

This will enable users to start writing their feedback without clicking on to the message to show the keyboard, which is the case now.

Thanx for help Ladislav


programatically set first responder on the first field you want yo be focused something like [txtfieldname setFirstResponder];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜