I have some source code to get the file name of an url
for example:
http://www.google.com/a.pdf
I hope to get a.pdf
because the way to join 2 NSS
This is more error free and meant for getting the localized name in the URL.
NSString *localizedName = nil; [url getResourceValue:&localizedName forKey:NSURLLocalizedNameKey error:NULL];