tags:

views:

36

answers:

1

Do we have any NSString length restriction when creating an object of NSURL class?

+2  A: 

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.

Chuck