<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/applinks/Defaults-swift.dictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "ul:applinks.Defaults"
  },
  "title" : "applinks.Defaults"
}
-->

# applinks.Defaults

An object that defines the default settings to use for universal links pattern matching.

```
object applinks.Defaults
```

## Overview

This object is a subclass of `components` and can contain any of its properties.
See [`applinks.Details.Components`](/documentation/BundleResources/applinks/Details-swift.dictionary/Components-swift.dictionary) for a list of available properties.

You can specify pattern-matching values at three levels: domain, app, and URL.
You use the `defaults` object to define domain- and app-level default values.
When you define default values at the domain level, they apply to all pattern matches for the domain, while default values at the app level apply to all pattern matches for the associated apps.

The more specific definition overrides the less specific.
So the default values you set at the app level override the default values you set at the domain level.
If you set values at the URL level in the [`applinks.Details.Components`](/documentation/BundleResources/applinks/Details-swift.dictionary/Components-swift.dictionary) object, those values override the default values at the app and domain levels.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)