在 iPhone 中显示超链接

发布于 2024-11-18 16:11:11 字数 119 浏览 0 评论 0原文

我在 sqlite db 中有一个字段,其中有多个用逗号分隔的链接。我通过将一个链接放置在标签中并在其上放置一个不可见的按钮并捕获按钮的单击来显示一个链接。当字段中的链接数量可能发生变化时,是否有其他方法可以显示这些超链接。

I have a field in sqlite db which has multiple links inside it separted by comma. I displayed one link by placing it in a label and placing an invisible button over it and capturing the click of the button.Is there any other way to show these hyper links as the number of links in the field may change.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白首有我共你 2024-11-25 16:11:11

使用UITextView自动检测电话号码、http链接等,如果dataDetectorTypes 属性是正确设置为所需的 UIDataDetectorTypes 值。

Use UITextView which automatically detects phone numbers, http links, and so on, if its dataDetectorTypes property is set properly to a required UIDataDetectorTypes value.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文