开发者

porting an app to iPad: alternatives for a context-menu? UI advice please

开发者 https://www.devze.com 2022-12-29 20:20 出处:网络
开发者_运维百科Considering porting/rewriting an app for the iPad and need some UI advice. On the iPad is there a way to pop a context-menu up from a text field without the text field losing focus?If n
开发者_运维百科

Considering porting/rewriting an app for the iPad and need some UI advice. On the iPad is there a way to pop a context-menu up from a text field without the text field losing focus? If not, what is the closest thing in the UI to this sort of functionality?


In 3.2, the menuItems of the UIMenuController can be customized, so you could just add your items into that array.

If you don't need the text field to be interactive than the menu appears, you could also use a pop-over or action sheet for more flexibility. Make that text field -becomeFirstResponder after that context menu is dismissed.

0

精彩评论

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