Presents a user-to-profile configuration panel, which lets the user specify their preferred profile.
- tvOS 13.0+
A dictionary that maps each Apple TV user to their preferred app profile object in your app. Each key is a string representing a system user that you previously obtained from the
currentproperty. The value is a
TVAppobject that you use to represent one of your app-specific profiles. The method uses this information to identify the preferred profile for each user.
The complete list of app-specific profiles available in your app. The configuration panel displays this set of profiles to the user.
The completion handler to call when the user dismisses the configuration panel. This handler has no return value and takes the following parameter:
A dictionary containing an updated map from system user to app profile. The information is similar to what you provide in the
existingparameter, but reflects the changes made by the user.
Calling this method displays a panel that lets the user configure which app-specific profile to associate with each Apple TV user account. The panel gives the user the option to select from any of the profiles in the
available parameter. It also uses the information in the
existing parameter to configure the initial mapping between users and profiles. After configuring the user accounts and dismissing the panel, the system calls your
completion handler to deliver the updated mapping between user accounts and profiles.