---
title: "unregisterSceneAccessory(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiviewcontroller/unregistersceneaccessory(_:)"
---

# unregisterSceneAccessory(_:)

Unregisters a scene accessory with the specified registration.

## Declaration

```swift
func unregisterSceneAccessory(_ registration: UISceneAccessoryRegistration)
```

## Discussion

Discussion If the scene accessory associated to this registration is currently being presented, it will be dismissed.
