Top "Uitextview" questions

The UITextView class implements the behavior for a scrollable, multiline text region in iOS.

How do I size a UITextView to its content on iOS 7?

I've been using the accepted answer here for years. On iOS 7, the contentSize.height becomes the frame.height-8, regardless of …

dynamic height uitextview ios7
Limit the number of lines for UITextview

I was wondering how to limit the amount of LINES (not characters as asked in other questions) a user can …

iphone cocoa-touch uitextview
Limit number of characters in uitextview

I am giving a text view to tweet some string . I am applying the following method to restrict the number …

ios iphone uitextview uitextviewdelegate
Detecting taps on attributed text in a UITextView in iOS

I have a UITextView which displays an NSAttributedString. This string contains words that I'd like to make tappable, such that …

ios objective-c uitextview textkit
How do I force a UITextView to scroll to the top every time I change the text?

OK, I'm having some problem with the UITextView. Here's the issue: I add some text to a UITextView. The user …

iphone ios uitextview
How to set font weight as light, regular in Android

I have 3 text views. I need to set their weight as Light, Regular and Condensed. Can someone help me on …

android uitextview textview
dismiss keyboard with a uiTextView

I am sure this is not that difficult, but I am having trouble finding info on how to dismiss a …

swift uitextview xcode6 uikeyboard
Center text vertically in a UITextView

I want to center the text vertically inside a big UITextView that fills the whole screen - so that when …

iphone objective-c ios xcode uitextview
iOS7 UITextView contentsize.height alternative

I'm porting one of apps from iOS 6.1 to iOS 7. I'm using a layout where there's a UITextView that has a …

ios uitextview ios7
How to intercept click on link in UITextView?

Is it possible to perform custom action when user touch autodetected phone link in UITextView. Please do not advice to …

iphone objective-c uitextview datadetectortypes