SWTextViewNoSelection

class SWTextViewNoSelection : UITextView

Extend UITextView to disable selection while clickable links still allowed.

  • Disable selection

    Declaration

    Swift

    override func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)

    Parameters

    gestureRecognizer

    gestureRecognizer description