---
title: "removeNavigationChildContext(_:)"
framework: classkit
role: symbol
role_heading: Instance Method
path: "classkit/clscontext/removenavigationchildcontext(_:)"
---

# removeNavigationChildContext(_:)

Removes the specified context as a presentable child of this context.

## Declaration

```swift
func removeNavigationChildContext(_ child: CLSContext)
```

## Parameters

- `child`: The context that you want to remove as a presentable child of this context.

## Discussion

Discussion Use this method to remove a child from the 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.

## See Also

### Creating a context presentation hierarchy

- [navigationChildContexts](classkit/clscontext/navigationchildcontexts.md)
- [addNavigationChildContext(_:)](classkit/clscontext/addnavigationchildcontext(_:).md)
