开发者

How to parse url in Objective-C?

开发者 https://www.devze.com 2023-03-22 11:34 出处:网络
Is there a function whic开发者_如何转开发h could parse url into protocol, domain(IP), port, uri, etc.?

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:].

0

精彩评论

暂无评论...
验证码 换一张
取 消