TextField used in iOS messaging app

I want the text box to look like an iPhone stock exchange app. The text field must be the same and expand to allow multi-line editing. Could you suggest a method to get this in my application?

Thanks.

+4
source share
3 answers

Use a UITextField.

To get the height of the text field, use -sizeWithFont:constrainedToSize:lineBreakMode:

So that the appearance of the Apple text box places the image behind a text box that looks like an Apple text box. See -resizableImageWithCapInsets: for the image to be properly stretched.

+2
source

Look at this:

UIBubbleTableView


EDIT:

The previous connection was meant to be viewed in bubble style. If you want to see where you actually enter the message, this is one thing:

HPGrowingTextView

+2
source

For other people who are looking for libraries but mentioned here with many errors

Here is the library:

SlackTextViewController

UIViewController podcast with advanced text input view and other useful messaging features. It is supposed to replace UITableViewController and UICollectionViewController .

enter image description here

+2
source

All Articles