---
title: "referenceImages(inGroupNamed:bundle:)"
framework: arkit
role: symbol
role_heading: Type Method
path: "arkit/arreferenceimage/referenceimages(ingroupnamed:bundle:)"
---

# referenceImages(inGroupNamed:bundle:)

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

## Declaration

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

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

## Discussion

Discussion To use the images for image detection in a world-tracking AR session, provide this set for your session configuration’s detectionImages property.
