---
title: showDetailTargetDidChangeNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiviewcontroller/showdetailtargetdidchangenotification
---

# showDetailTargetDidChangeNotification

Posted when a split view controller is expanded or collapsed.

## Declaration

```swift
nonisolated class let showDetailTargetDidChangeNotification: NSNotification.Name
```

## Discussion

Discussion When a view controller is using show(_:sender:) or showDetailViewController(_:sender:), it may need to know when a split view controller higher in the view hierarchy has changed. This notification is sent when a split view controller expands or collapses. The object of this notification is the view controller that caused the change.

## See Also

### Presenting a view controller

- [show(_:sender:)](uikit/uiviewcontroller/show(_:sender:).md)
- [showDetailViewController(_:sender:)](uikit/uiviewcontroller/showdetailviewcontroller(_:sender:).md)
- [UIViewController.ShowDetailTargetDidChangeMessage](uikit/uiviewcontroller/showdetailtargetdidchangemessage.md)
- [present(_:animated:completion:)](uikit/uiviewcontroller/present(_:animated:completion:).md)
- [dismiss(animated:completion:)](uikit/uiviewcontroller/dismiss(animated:completion:).md)
- [modalPresentationStyle](uikit/uiviewcontroller/modalpresentationstyle.md)
- [UIModalPresentationStyle](uikit/uimodalpresentationstyle.md)
- [modalTransitionStyle](uikit/uiviewcontroller/modaltransitionstyle.md)
- [UIModalTransitionStyle](uikit/uimodaltransitionstyle.md)
- [isModalInPresentation](uikit/uiviewcontroller/ismodalinpresentation.md)
- [definesPresentationContext](uikit/uiviewcontroller/definespresentationcontext.md)
- [providesPresentationContextTransitionStyle](uikit/uiviewcontroller/providespresentationcontexttransitionstyle.md)
- [disablesAutomaticKeyboardDismissal](uikit/uiviewcontroller/disablesautomatickeyboarddismissal.md)
