iosuser-interfaceiosdeployment

iOS How to set background image for text in UILabel/UITextView?


As the picture I marked in red Rect, how to implement it?

  1. The image and text in the same line;
  2. The text can wrap to the first column;

enter image description here


Solution

  • I've fixed the question as @Jecky Modi's suggestion, please refer to here for it.