在 iPhone 中显示超链接
我在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用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.