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

# sceneDidBecomeActive(_:)

Tells the delegate that the scene became active and is now responding to user events.

```
optional func sceneDidBecomeActive(_ scene: UIScene)
```

## Parameters

`scene`

The scene that became active and is now responding to user events.

## Discussion

To use this method, you must implement the [`UISceneDelegate`](/documentation/UIKit/UISceneDelegate) protocol and configure scenes for your app (see [Specifying the scenes your app supports](/documentation/UIKit/specifying-the-scenes-your-app-supports)).

Use this method to prepare your scene to be onscreen. UIKit calls this method after loading the interface for your scene, but before that interface appears onscreen. Use it to refresh the contents of views, start timers, or increase frame rates for your UI.

In addition to calling this method, UIKit posts a [`didActivateNotification`](/documentation/UIKit/UIScene/didActivateNotification) and a [`didBecomeActiveNotification`](/documentation/UIKit/UIApplication/didBecomeActiveNotification).

For more information on what to do when your app becomes active, see [Preparing your UI to run in the foreground](/documentation/UIKit/preparing-your-ui-to-run-in-the-foreground).

> Note:
> When you implement this method and enable scenes, UIKit calls this method but does not call the ``doc://com.apple.uikit/documentation/UIKit/UIApplicationDelegate/applicationDidBecomeActive(_:)`` method on ``doc://com.apple.uikit/documentation/UIKit/UIApplicationDelegate``.

---

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)