Swift: saving UIImageView to Camera Roll : Even tough this sounds super simple, I got stuck on this because of how my app works.

I'm using Swift.

I have a UIImageView that loads an online image. On the app, I will have a button that gives the user a choice to export the image to Camera Roll.

Most solutions such as UIImageWriteToSavedPhotosAlbum don't work with UIImageView.

Should I first capture a UIImage from the UIImageView and then save to Camera Roll? How? Or can I save directly?

Thanks!