parse.com - Convery my UIImageView to a PFFile in SWIFT -
i have uiimageview in storyboard, , user can select image phone place in imageview; however, i'm not sure how storyboard parse.com.
any code appreciated. there lots of tutorials on downloading, not saving initially.
you need take image out of uiimageview , sage pffile.
var file = pffile(data: uiimagejpegrepresentation(imageview.image, 1.0))
then of course, can upload file somewhere choose.
Comments
Post a Comment