<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoSubscriberAccount",
  "identifier" : "/documentation/VideoSubscriberAccount/VSAccountManagerDelegate/accountManager(_:dismiss:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Video Subscriber Account"
    ],
    "preciseIdentifier" : "c:objc(pl)VSAccountManagerDelegate(im)accountManager:dismissViewController:"
  },
  "title" : "accountManager(_:dismiss:)"
}
-->

# accountManager(_:dismiss:)

Tells the delegate to dismiss an authentication view controller.

```
func accountManager(_ accountManager: VSAccountManager, dismiss viewController: UIViewController)
```

## Parameters

`accountManager`

The account manager instance that requests to dismiss the authentication view controller.

`viewController`

The view controller that your app must dismiss.

## Discussion

The system calls this method when the `VideoSubscriberAccount` framework requires your app to dismiss an authentication view controller. You must use <doc://com.apple.documentation/documentation/UIKit/UIViewController/dismiss(animated:completion:)> to dismiss the view controller before returning from this method.

---

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)