I have an app with a tab bar with several tabs. I inserted a new tab with a simple
UITextView. However, the text view does not seem to respond to touch inputs and I am not able to edit it. It just stays static with the default text and does nothing.
Nevermind. It was an issue with a class returning "NO" to canBecomeFirstResponder method. What a nightmare that took me hours to realize! Anyway, thanks everybody for your time and help and so sorry for posting such a stupid problem!
Make sure both Editable and Selectable are enabled:
You can achieve this programmatically also:
myTextView.editable = true myTextView.selectable = true
UITextView Class Reference
Attributes inspector make sure that
User Interaction Enable is checked.
Select your text view and from attribute inspector make sure that
userinteraction is enable and check other options also as screenshot.
make sure that you checked