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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -