阅读背景:

在自定义视图上显示弹出菜单时,请勿关闭键盘

来源:互联网 

I created my own UIView subclass to present text information to the user. User is able to double tap this view to popup a 'Copy' menu. The problem is that UITextView within the same view controller resigns its first responder status thus dismissing keyboard when popup menu is presented. How do I avoid this? I want my application to behave like standard iPhone's Messages application: keyboard is not dismissed while double tapping on message bubble presents a popup menu. I created my own UIView subclass to present tex




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: