How to save an image to users device IOS

Does anyone know how to save an image from database to a users device on IOS? Is this currently possible?

Thanks