UITextView textContainer exclusion path fails if full width and positioned at top of textContainer

后端 未结 5 1346
余生分开走
余生分开走 2021-01-01 22:46

In iOS 8, I\'m trying to add a UIImageView as a subview of a UITextView, similar to what\'s shown here - but with the text below the image.

5条回答
  •  耶瑟儿~
    2021-01-01 23:21

    Workaround suggestion:

    Add a line break to your text.

    textView.text = "\n" + textView.text

提交回复
热议问题