ios - UITextView with text and images combined -


I have this image with UIScrollView, all images are 30x30. I also have a UITextview under ScrollView. What I have to do, edit the text, compare the image in the text view, write some text, and it will be added after the text (such as emoji).

How is this possible? UIImageView as a subview of UITextView

. For example, create an image with the image:
  UIImageView * imageView = [[UIImageView alloc] initWithImage: yourImage]; [ImageView setframe: yourFrame]; [Add YourTextView View: imageView];  

And this source code can be useful in your case:




Comments