Hide text selection handles after action in UIWebView

后端 未结 3 1765
南方客
南方客 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:14

    Just disable and re-enable the User Interaction:

    myWebView.userInteractionEnabled = NO;
    myWebView.userInteractionEnabled = YES;
    

提交回复
热议问题