---
title: AppLibrary
framework: marketplacekit
role: symbol
role_heading: Class
path: marketplacekit/applibrary
---

# AppLibrary

A class that represents a catalog of all installed apps, and offers various services for the apps that your marketplace distributes.

## Declaration

```swift
@MainActor final class AppLibrary
```

## Mentioned in

Installing apps from an alternative marketplace Providing age-rating appropriate content Supplying an install verification token

## Overview

Overview Alternative app marketplaces call methods of this class to retrieve the set of currently installed apps, to request the installation of available apps, or to update the license for a specific app. Browser apps that use an alternative browser engine make a call to this class to install alternative app marketplaces from a webpage. You can also customize Spotlight search results and manage age-rating exception requests to install apps with an age rating beyond the maximum allowed for the device. Observe runtime changes The class is observable (through SwiftUI or the Observation framework), so you can provide reactive updates when finishing, installing, updating, or loading (see isLoading). important: iOS ignores calls to this class for apps that lack one of the required entitlements: com.apple.developer.marketplace.app-installation, or com.apple.developer.browser.app-installation.

## Topics

### Accessing app library and account authorization information

- [current](marketplacekit/applibrary/current.md)
- [didAuthenticate(account:)](marketplacekit/applibrary/didauthenticate(account:).md)

### Managing app installation

- [AppLibrary.App](marketplacekit/applibrary/app.md)
- [AppLibrary.InstallationRequest](marketplacekit/applibrary/installationrequest.md)
- [installingApps](marketplacekit/applibrary/installingapps.md)
- [isLoading](marketplacekit/applibrary/isloading.md)
- [requestAppInstallation(_:)](marketplacekit/applibrary/requestappinstallation(_:).md)
- [requestAppInstallationFromBrowser(for:referrer:)](marketplacekit/applibrary/requestappinstallationfrombrowser(for:referrer:).md)

### Accessing installed apps

- [app(forAppleItemID:)](marketplacekit/applibrary/app(forappleitemid:).md)
- [installedApps](marketplacekit/applibrary/installedapps.md)

### Checking for age-rating based content restrictions

- [maximumAllowedAgeRating](marketplacekit/applibrary/maximumallowedagerating.md)
- [AppLibrary.ExceptionRequest](marketplacekit/applibrary/exceptionrequest.md)
- [currentAgeExceptionRequests()](marketplacekit/applibrary/currentageexceptionrequests().md)

### Filtering app searches

- [searchTerritory](marketplacekit/applibrary/searchterritory.md)
- [setSearchTerritory(_:)](marketplacekit/applibrary/setsearchterritory(_:).md)

### Updating apps

- [requestAppUpdate(_:)](marketplacekit/applibrary/requestappupdate(_:).md)
- [requestLicenseRenewal(appleItemIDs:)](marketplacekit/applibrary/requestlicenserenewal(appleitemids:).md)

### Determining device region

- [catalogRegion](marketplacekit/applibrary/catalogregion.md)

### Deprecated

- [requestAppInstallation(for:account:installVerificationToken:)](marketplacekit/applibrary/requestappinstallation(for:account:installverificationtoken:).md)
- [requestAppUpdate(for:account:installVerificationToken:)](marketplacekit/applibrary/requestappupdate(for:account:installverificationtoken:).md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Observable](observation/observable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### App management

- [AppVersion](marketplacekit/appversion.md)
- [AutomaticUpdate](marketplacekit/automaticupdate.md)
- [InstallRequirements](marketplacekit/installrequirements.md)
- [AppleItemID](marketplacekit/appleitemid.md)
- [AppleVersionID](marketplacekit/appleversionid.md)
- [MarketplaceKitURIScheme](marketplacekit/marketplacekiturischeme.md)
- [RequestAppDeletionAction](marketplacekit/requestappdeletionaction.md)
