Contents

loadReferenceImages(inGroupNamed:bundle:)

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

Declaration

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

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

See Also

Creating a reference image