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?

Is there a good way to adjust the size of a UITextView to conform to its content? Say for instance …

ios cocoa-touch autolayout uikit uitextview
Placeholder in UITextView

My application uses an UITextView. Now I want the UITextView to have a placeholder similar to the one you can …

ios objective-c cocoa-touch uitextview placeholder
Multiple lines of text in UILabel

Is there a way to have multiple lines of text in UILabel like in the UITextView or should I use …

ios uilabel uitextview line-breaks multiline
How to dismiss keyboard for UITextView with return key?

In IB's library, the introduction tells us that when the return key is pressed, the keyboard for UITextView will disappear. …

iphone objective-c keyboard uitextview iphone-softkeyboard
How to create a multiline UITextfield?

I am developing an application where user has to write some information. For this purpose I need a UITextField which …

ios uitextfield uitextview
Add placeholder text inside UITextView in Swift?

How can I add a placeholder in a UITextView, similar to the one you can set for UITextField, in Swift?

ios swift uitextview placeholder
How can I make a clickable link in an NSAttributedString?

It's trivial to make hyperlinks clickable in a UITextView. You just set the "detect links" checkbox on the view in …

ios objective-c hyperlink uitextview nsattributedstring
How to lose margin/padding in UITextView?

I have a UITextView in my iOS Application, which displays a large amount of text. I am then paging this …

ios iphone cocoa-touch uikit uitextview
How to style UITextview to like Rounded Rect text field?

I am using a text view as a comment composer. In the properties inspector I can't find anything like a …

ios uitextview
Display html text in uitextview

How can I display HTML text in textview? For example, string <h1>Krupal testing <…

ios iphone uitextview