title: How to remove lookup & share from textview in Swift 3
body: <p>I can remove cut, copy, paste, select, select all using this</p>
  
  <pre><code>override public func canPerformAction(_ action: Selector, withSender sender: Any?) -&gt; Bool {
      if action == #selector(copy(_:)) || action == #selector(paste(_:)) || action == #selector(selectAll(_:)) || action == #selector(cut(_:))
      {
          return false
      }
      return super.canPerformAction(action, withSender: sender)
  }
  </code></pre>
  
  <p>But I can't remove lookup &amp; Share </p>
  
  <p><a href="https://i.stack.imgur.com/4P1Jp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4P1Jp.png" alt="enter image description here"></a></p>
  
  <p>Can anyone please suggest me how to remove this?</p>