---
title: "loadReferenceImages(inGroupNamed:bundle:)"
framework: arkit
role: symbol
role_heading: Type Method
path: "arkit/referenceimage/loadreferenceimages(ingroupnamed:bundle:)"
---

# loadReferenceImages(inGroupNamed:bundle:)

Creates multiple reference images based on their group name in an asset catalog.

## Declaration

```swift
static func loadReferenceImages(inGroupNamed groupName: String, bundle: Bundle? = nil) -> [ReferenceImage]
```

## Parameters

- `groupName`: The name of the group of assets in an asset catalog.
- `bundle`: The bundle that contains the image assets. If nil, this method loads reference images from the main bundle.

## Return Value

Return Value An array of reference images loaded from the group you specify.

## See Also

### Creating a reference image

- [init(cgimage:physicalSize:orientation:)](arkit/referenceimage/init(cgimage:physicalsize:orientation:).md)
- [init(pixelBuffer:physicalSize:orientation:)](arkit/referenceimage/init(pixelbuffer:physicalsize:orientation:).md)
