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
For iPads, according to this response of @Awais Jamil, add the following code
textField.inputAssistantItem.leadingBarButtonGroups = [] textField.inputAssistantItem.trailingBarButtonGroups = []