<!--
{
  "availability" : [
    "iOS: 18.1.0 -",
    "iPadOS: 18.1.0 -",
    "macCatalyst: 18.1.0 -",
    "macOS: 15.1.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImagePlaygroundViewController/Delegate-swift.protocol/imagePlaygroundViewController(_:didCreate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Image Playground"
    ],
    "preciseIdentifier" : "s:15ImagePlayground0aB14ViewControllerC8DelegateP05imagebcD0_9didCreateyAC_So010NSAdaptiveA5GlyphCtF"
  },
  "title" : "imagePlaygroundViewController(_:didCreate:)"
}
-->

# imagePlaygroundViewController(_:didCreate:)

Returns the generated genmoji to the delegate.

```
@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`](/documentation/ImagePlayground/ImagePlaygroundViewController) from your app’s interface.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)