Reputation: 7060
I don't want to appear any keyboard when i touched UITextView in iOS. How can i do that?
Upvotes: 0
Views: 530
Reputation: 14796
You can subclassing UITextView and override "-(BOOL)canBecomeFirstResponder", returning NO.
Upvotes: 1
Reputation: 7807
You could make the UITextView non-editable.
UITextView* tv = [[UITextView alloc] init];
[tv setEditable:NO];
Upvotes: 2