I uiImagePickerController from a local gallery how to set selected picture to other places to go, now get this image, in other places need to set this picture picture but do not know how to put this image transfer over? What is the field you want to transfer pictures, because it is a local photo gallery so I do not know if there url, and if passed, then how to get the name of the picture's name?
Reply:
class ClassA
{
imageView img;
}
In uiimagePickController
ClassA a = [[ClassA alloc] init];
Reply:
a.img = imageView
you getBiography passed on
Reply:
Thank you, has been resolved!
Reply:
I also do this, ah how I obviously write up the path, the pictures are placed in the path of the folder where the result is that the picture does not appear.
I feel that my path is wrong. LZ you can dance
Reply:
Reply:
You can choose to use uiImagePickerController picture. From the results you can get selected target image uiimage, this thing is in memory, and how to dispose of your own choice, you can show to the place you want it to appear, you can go to the server over the network.
Reply:
By UIImagePNGRepresentation () or UIImageJPEGRepresentation () to save the data into a form NSData
No comments:
Post a Comment