Hide text selection handles after action in UIWebView

后端 未结 3 1692
南方客
南方客 2021-01-31 11:44

I have several custom UIMenuItems that do things with a selection in a UIWebView. After the action has been run on that selection I want to hide the s

3条回答
  •  孤城傲影
    2021-01-31 12:39

    [_webview becomeFirstResponder]; After your action.

    You just need this. I always use this way.

提交回复
热议问题