---
title: requestToBecomeSystemPrimary()
framework: nowplaying
role: symbol
role_heading: Instance Method
path: nowplaying/remotemediasession/requesttobecomesystemprimary()
---

# requestToBecomeSystemPrimary()

Requests to make this session the system primary media session.

## Declaration

```swift
@MainActor func requestToBecomeSystemPrimary() async throws
```

## Mentioned in

Publishing remote media sessions

## Discussion

Discussion Use this method to request that the system display this session prominently on the Lock Screen and in Control Center. Your app’s primary session should match what your app is prominently displaying to the user in your interface. For example, if your app has two playing sessions and the user has indicated they want to focus on one of those sessions, call requestToBecomeSystemPrimary on that session. note: Calling this method doesn’t guarantee the system displays your session on the Lock Screen or in Control Center. note: Your app must be in the foreground when calling this method, otherwise this request doesn’t take effect. note: RemoteMediaSessionError.internalFailure if the system couldn’t promote the session.
