title: Scale UITextView and maintain text clarity
body: <p>How can a <code>UITextView</code> be scaled (by <code>UIPinchGestureRecognizer</code>) without losing text clarity? </p>
  
  <p>This is the blurry <code>UITextView</code> when scaled up:</p>
  
  <p><a href="https://i.stack.imgur.com/xj2qBm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xj2qBm.png" alt="enter image description here"></a></p>
  
  <p>This is the desired effect (created on Snapchat).</p>
  
  <p><a href="https://i.stack.imgur.com/nCgNum.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nCgNum.jpg" alt="enter image description here"></a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>func scale(_ sender:UIPinchGestureRecognizer) {
      sender.view?.transform = (sender.view?.transform.scaledBy(x: sender.scale, y: sender.scale))!
      sender.scale = 1
  }
  </code></pre>