Contents

compatibleAdapterIdentifiers(name:)

Get all compatible adapter identifiers compatible with current system models.

Declaration

static func compatibleAdapterIdentifiers(name: String) -> [String]

Parameters

  • name:

    Name of the adapter.

Return Value

All adapter identifiers compatible with current system models, listed in descending order in terms of system preference. You can determine which asset pack or on-demand resource to download with compatible adapter identifiers.

On devices that support Apple Intelligence, the result is guaranteed to be non-empty.