<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSContext/addNavigationChildContext(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLSContext(im)addNavigationChildContext:"
  },
  "title" : "addNavigationChildContext(_:)"
}
-->

# addNavigationChildContext(_:)

Adds a child context that users can navigate to from this context.

```
func addNavigationChildContext(_ child: CLSContext)
```

## Parameters

`child`

A context that you want to add as a presentable child from this context.

## Discussion

Use this method to add a child to the [`navigationChildContexts`](/documentation/ClassKit/CLSContext/navigationChildContexts) collection of a given context. This only affects presentation. The method doesn’t alter your app’s context hierarchy because it has no effect on the context’s [`identifierPath`](/documentation/ClassKit/CLSContext/identifierPath).

---

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)