Create tap-able “links” in the NSAttributedString of a UILabel?

前端 未结 30 3243
半阙折子戏
半阙折子戏 2020-11-22 02:07

I have been searching this for hours but I\'ve failed. I probably don\'t even know what I should be looking for.

Many applications have text and in this text are web

30条回答
  •  佛祖请我去吃肉
    2020-11-22 03:09

    For fully custom links, you'll need to use a UIWebView - you can intercept the calls out, so that you can go to some other part of your app instead when a link is pressed.

提交回复
热议问题