UITextView background image

后端 未结 10 2013
说谎
说谎 2020-12-02 08:44

How can I set up a background image to UITextView?

10条回答
  •  失恋的感觉
    2020-12-02 09:37

    Not sure about, but you can try the following, assuming that your background image is handled by a UIImageView:

    [myTextView addSubview: myImageView];

    Note that you may need to change the value of the alpha/opaque properties of your UITextView.

    Kind Regards.

提交回复
热议问题