I\'m using a UITextField to show results of a calculation but I don\'t want the keyboard to appear when the user taps on the UIText
Swift 4.2, This works for me. put in viewDidLoad()
viewDidLoad()
//It will Hide Keyboard textField.inputView = UIView() //It will Hide Keyboard tool bar textField.inputAccessoryView = UIView() //It will Hide the cursor textField.tintColor = .white