<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARReferenceImage/referenceImages(inGroupNamed:bundle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARReferenceImage(cm)referenceImagesInGroupNamed:bundle:"
  },
  "title" : "referenceImages(inGroupNamed:bundle:)"
}
-->

# referenceImages(inGroupNamed:bundle:)

Loads all reference images in the specified AR Resource Group in your Xcode project’s asset catalog.

```
class func referenceImages(inGroupNamed name: String, bundle: Bundle?) -> Set<ARReferenceImage>?
```

## Parameters

`name`

The name of an AR Resource Group from your Xcode project’s main asset catalog.

`bundle`

The bundle from which to load asset catalog resources, or `nil` to use your app’s main bundle.

## Return Value

A set of all unique reference images in the specified group.

## Discussion

To use the images for image detection in a world-tracking AR session, provide this set for your session configuration’s [`detectionImages`](/documentation/ARKit/ARWorldTrackingConfiguration/detectionImages) property.

---

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)