开发者

NSString length restriction

开发者 https://www.devze.com 2022-12-28 12:21 出处:网络
Do we have a开发者_开发问答ny NSString length restriction when creating an object of NSURL class? There is no restriction that\'s part of the API. But if you create a ridiculously long URL, there is n

Do we have a开发者_开发问答ny NSString length restriction when creating an object of NSURL class?


There is no restriction that's part of the API. But if you create a ridiculously long URL, there is no guarantee that it will work in all situations (say, some servers might just say no). It's generally considered a good idea to avoid the need for exceedingly long URLs.

0

精彩评论

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