更新时间:2023-01-27 21:33:36
在Interface Builder中,选择UITextView,打开检查器,转到文本选中查看属性选项卡,然后选***享检测链接。
In Interface Builder, select the UITextView, open the inspector, go to the Text View Attributes tab, then make share "Detect Links" is checked.
这仅适用于看起来像链接的项目( http://***.com )
This only works for items that look like links (http://***.com)
为了制作任意链接,你需要使用UIWebView。
For making arbitrary links, then you will want to use a UIWebView instead.