Make link in UILabel.attributedText *not* blue and *not* underlined

前端 未结 11 1233
终归单人心
终归单人心 2020-12-24 05:18

I want some words within my OHAttributedLabel to be links, but I want them to be colors other than blue and I don\'t want the underline.

This is giving me a blue lin

11条回答
  •  旧时难觅i
    2020-12-24 06:09

    If you're using a UITextView, you might have to change the tintColor property to change the link color.

提交回复
热议问题