<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UINavigationController/show(_:sender:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UINavigationController(im)showViewController:sender:"
  },
  "title" : "show(_:sender:)"
}
-->

# show(_:sender:)

Presents the specified view controller in the navigation interface.

```
func show(_ vc: UIViewController, sender: Any?)
```

## Parameters

`vc`

The view controller to display.

`sender`

The object that made the request to show the view controller.

## Discussion

This method pushes `vc` onto the navigation stack in a similar way as the [`pushViewController(_:animated:)`](/documentation/UIKit/UINavigationController/pushViewController(_:animated:)) method. You can call this method directly if you want but typically this method is called from elsewhere in the view controller hierarchy when a new view controller needs to be shown.

The Show segue uses this method to display a new view controller.

---

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)