Now use NSURL instead of NSString