You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find some of the APIs in Media very difficult to understand. A real-world example of album.add() would be very helpful.
I am downloading random images, png, Jpeg or webp and would like to save in an album I have created. How does one construct a Photo object conforming to MediaProtocol?
I have a UIImage or cGImage and cannot figure out how to create the Photo...
// image was downloaded via KingFisher
let album = try Album.with(identifier: DEFAULT_ALBUM_NAME)
album?.add() <-- I have a UIImage or CGImage instance, how do I convert it to a `Photo`?
The text was updated successfully, but these errors were encountered:
I find some of the APIs in Media very difficult to understand. A real-world example of album.add() would be very helpful.
I am downloading random images, png, Jpeg or webp and would like to save in an album I have created. How does one construct a
Photo
object conforming toMediaProtocol
?I have a UIImage or cGImage and cannot figure out how to create the
Photo
...The text was updated successfully, but these errors were encountered: