Is there a function whic开发者_如何转开发h could parse url into protocol, domain(IP), port, uri, etc.? Just like the parse_url() function in PHP.
See the documentation of NSURL
, in particular +[NSURL URLWithString:].
Is there a function whic开发者_如何转开发h could parse url into protocol, domain(IP), port, uri, etc.? Just like the parse_url() function in PHP.
See the documentation of NSURL
, in particular +[NSURL URLWithString:].
精彩评论