在 NSString 中查找 url
如何在 Xcode iOS 中搜索 NSString
中的 url? 例如,如果扫描它
HTTP://
并检测该 url 的结尾位置并返回 url 字符串。
NSSearchFieldCell Class Reference
仅适用于 Mac 开发。
How can I search a NSString
for a url in Xcode iOS?
For instance, If scan it for
HTTP://
and detect where the end of that url is and return the url string.
NSSearchFieldCell Class Reference
is only available on Mac development.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看此链接我认为它应该可以工作 NSDataDetector
Check out this link I think it should be work NSDataDetector