Change color of magnifying glass

后端 未结 5 505
眼角桃花
眼角桃花 2021-01-20 11:55

The color of a magnifying glass is being taken automatically from the background color of UITextView. Under the text view I have an image and the text view background itself

5条回答
  •  盖世英雄少女心
    2021-01-20 12:17

    Subclass UITextView/UITextField, override -drawRect and do your own drawing, then you can use .backgroundColor to set the magnifying glass tint.

提交回复
热议问题