<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/NavigationLink/isDetailLink(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14NavigationLinkV08isDetailD0yQrSbF"
  },
  "title" : "isDetailLink(_:)"
}
-->

# isDetailLink(_:)

Sets the navigation link to present its destination as the detail
component of the containing navigation view.

```
nonisolated func isDetailLink(_ isDetailLink: Bool) -> some View
```

## Parameters

`isDetailLink`

A Boolean value that specifies whether this
link presents its destination as the detail component when used in a
multi-column navigation view.

## Return Value

A view that applies the specified detail link behavior.

## Discussion

This method sets the behavior when the navigation link is used in a
[`NavigationSplitView`](/documentation/SwiftUI/NavigationSplitView), or a
multi-column navigation view, such as one using
[`ColumnNavigationViewStyle`](/documentation/SwiftUI/ColumnNavigationViewStyle).

For example, in a two-column navigation split view, if `isDetailLink` is
`true`, triggering the link in the sidebar column sets the contents of
the detail column to be the link’s destination view. If `isDetailLink`
is `false`, the link navigates to the destination view within the
primary column.

If you do not set the detail link behavior with this method, the
behavior defaults to `true`.

The `isDetailLink` modifier only affects view-destination links. Links
that present data values always search for a matching navigation
destination beginning in the column that contains the link.

---

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)