-
Notifications
You must be signed in to change notification settings - Fork 0
Home
mobile Pro edited this page May 3, 2018
·
1 revision
Welcome to the iOS-Helper wiki!
### URLByAppendingPathComponent vs URLByAppendingPathExtension NSURL *originalURL = [NSURL URLWithString:@"http://hello.com/news"]; NSLog(@"%@", [originalURL URLByAppendingPathComponent:@"local"]); NSLog(@"%@", [originalURL URLByAppendingPathExtension:@"local"]); Output: