One Logo Pool Ball
ManagedAppDistribution · IOS API REFERENCE

ManagedAppLibrary

class · iOS 17.2+ · SDK 27.1

final class ManagedAppLibrary

A representation of a library of managed apps.

Members (2)

get · iOS 17.2+

availableApps

TypeScript
get availableApps(): ManagedAppLibrary_ManagedApps
Swift declaration
final var availableApps: ManagedAppLibrary.ManagedApps { get }

The current managed apps available to this device. The current managed apps are of type `Result<[ManagedApp], ManagedAppDistributionError>`. Use an asynchronous `for` loop to update your views when the current managed apps change. If the device can't retrieve the metadata for the apps, fetching the list of managed apps fails with ``ManagedAppDistributionError.networkError``. An example of this failure is if the device is offline. > Note: The async sequence returns an error and the sequence ends when running as an iOS app on macOS.

get · iOS 17.2+

currentDistributor

TypeScript
static get currentDistributor(): ManagedAppLibrary
Swift declaration
static let currentDistributor: ManagedAppLibrary

The library provider for managed apps on this device. This is a singleton object.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedAppDistribution types →