I have a UITextView with text and UIImageView inside it. The textView resizes according to the device through the use of auto layout constraints.
But whenever the textView is resized the position of the text inside the UITextView also changes dynamically but the ImageView and Bezier path for the specific image remains constant.
The image is related to the text so I want to place it at a specific position in relation to the text. So how to do it using Auto Layout.
I have shown below what I want to achieve. Both images have different dimensions hence different text alignment.