i need to upload a image from iphone gallery ,but i am not getting the path of the picked image (using image picker)
in the image picke
Convert your image in NSData
and then Upload this NSData
.
Your image in NSData
NSData *dataImage = UIImageJPEGRepresentation([info objectForKey:@"UIImagePickerControllerOriginalImage"],1);
Or you can convert yourImage in NSData
using
NSData *dataImage = UIImagePNGRepresentation(yourImageView.image);
For more read NSData Class Reference