I want to create a view that consists solely of a UITextView. When the view is first shown, by default, I\'d like the keyboard to be visible and ready for text
UITextView
Following worked fine for me using Swift
override func viewDidAppear(animated: Bool) { super.viewDidAppear(animated) // Show keyboard by default billField.becomeFirstResponder() }
Key is to use the viewDidAppear function.