Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete image from device after image select? #346

Closed
wstudios opened this issue Mar 21, 2016 · 3 comments
Closed

Delete image from device after image select? #346

wstudios opened this issue Mar 21, 2016 · 3 comments

Comments

@wstudios
Copy link

I am directly uploading the selected image to a server but need that image deleted after the image has been uploaded.
I am trying to get the image url to delete but it comes as nil.

This is my code

 func saveMedImgChanged(row: ImageRow){
   let imgURL = row.imageURL
 }

That function is used in the onChange for the image row

.onChange(self.saveMedImgChanged)

I need to get the image asset url so I can prompt the user to delete the image. Thanks for any guidance.

@mtnbarreto
Copy link
Member

done! now it should work

@wstudios
Copy link
Author

Thank you very much. How do I get this change? When I run pod update, it keeps the current copy which is version 1.5.0. Thanks

@mtnbarreto
Copy link
Member

you should use repository master branch base code or a specific commit.
Look at this guide.... https://guides.cocoapods.org/using/the-podfile.html#from-a-podspec-in-the-root-of-a-library-repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants