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

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -