imagePlaygroundViewController(_:didCreate:)
Returns the generated genmoji to the delegate.
Declaration
@MainActor @objc optional func imagePlaygroundViewController(_ imagePlaygroundViewController: ImagePlaygroundViewController, didCreate adaptiveImageGlyph: NSAdaptiveImageGlyph)Parameters
- imagePlaygroundViewController:
The view controller that sent the notification.
- adaptiveImageGlyph:
The adaptive image glyph that represents the generated genmoji.
Discussion
Use this method to access the genmoji. After you finish retrieving the image, dismiss the ImagePlaygroundViewController from your app’s interface.