<!--
{
  "availability" : [
    "iOS: 18.4.0 - 27.0.0",
    "iPadOS: 18.4.0 - 27.0.0",
    "macCatalyst: 18.4.0 - 27.0.0",
    "macOS: 15.4.0 - 27.0.0",
    "visionOS: 2.4.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImageCreator/Error/backgroundCreationForbidden",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Image Playground"
    ],
    "preciseIdentifier" : "s:15ImagePlayground0A7CreatorC5ErrorO27backgroundCreationForbiddenyA2EmF"
  },
  "title" : "ImageCreator.Error.backgroundCreationForbidden"
}
-->

# ImageCreator.Error.backgroundCreationForbidden

An error that indicates the app is hidden or in the background.

```
case backgroundCreationForbidden
```

## Discussion

Apps must perform image creation only when running in the foreground.

---

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)