BlockReader
BlockReader

Reputation: 641

Finding a url in NSString

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.

Upvotes: 1

Views: 1737

Answers (1)

Hiren
Hiren

Reputation: 12780

Check out this link I think it should be work NSDataDetector

Upvotes: 3

Related Questions