title: Disable Look Up from UIMenuController
body: <p>I want to disable <strong>Look Up</strong> when I double tap on my UITextField. Btw, the below code worked with <strong>Share</strong> but not for Look Up (I have also change the String of Look up to any possible notation but still not working).</p>
  <pre><code>    override func canPerformAction(_ action: Selector, withSender sender: Any?) -&gt; Bool {
      
      if  action == #selector(UIResponderStandardEditActions.paste(_:)) ||
              action == #selector(UIResponderStandardEditActions.cut(_:)) ||
              action == #selector(UIResponderStandardEditActions.copy(_:)) ||
              action.description.contains(&quot;_share&quot;) ||
              action.description.contains(&quot;_Look_Up&quot;)
              {
                  return false
              }
      return super.canPerformAction(action, withSender: sender)
  }
  </code></pre>