Upload picture selected using UIImagePickerController
I'm trying to upload the picture selected using UIImagePickerController. The UIImagePickerController gives UIImage object that I can display in a view, but it doesn't give a path (may be it does and I'm looking at wrong place). I'm using ASIFormDataRequest to upload content, but this would need path to the picture to upload it. Any suggestion ? Thank you If you have UIImage with you than you don't need local path for image to upload, you can upload it using following code. NSData *imgData = UIImagePNGRepresentation(YourUIImageObject); NSURL *url = @"yourURL"; ASIFormDataRequest *currentRequest