---
title: "imagePlaygroundViewController(_:didCreate:)"
framework: imageplayground
role: symbol
role_heading: Instance Method
path: "imageplayground/imageplaygroundviewcontroller/delegate-swift.protocol/imageplaygroundviewcontroller(_:didcreate:)"
---

# imagePlaygroundViewController(_:didCreate:)

Returns the generated genmoji to the delegate.

## Declaration

```swift
@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

Discussion Use this method to access the genmoji. After you finish retrieving the image, dismiss the ImagePlaygroundViewController from your app’s interface.
