---
title: "accountManager(_:dismiss:)"
framework: Video Subscriber Account
role: symbol
role_heading: Instance Method
platforms: [iOS 10.0+, iPadOS 10.0+, Mac Catalyst 10.0+, tvOS 10.0+, visionOS 1.0+]
path: "videosubscriberaccount/vsaccountmanagerdelegate/accountmanager(_:dismiss:)"
---

# accountManager(_:dismiss:)

Tells the delegate to dismiss an authentication view controller.

## Declaration

```swift
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

Discussion The system calls this method when the VideoSubscriberAccount framework requires your app to dismiss an authentication view controller. You must use dismiss(animated:completion:) to dismiss the view controller before returning from this method.
