User-Assigned Device Name Entitlement for Multipeer Connectivity

Hi everyone,

I’m developing a multiplayer iOS game that uses Multipeer Connectivity for local peer-to-peer networking. I’d like to display user-assigned device names in the UI to help players identify each other during the connection process. In iOS 16 and later, accessing UIDevice.current.name requires the User-Assigned Device Name Entitlement.

The documentation states that the entitlement is granted for functionality involving “interaction between multiple devices that the same user operates”. My game is strictly multiplayer, with devices owned by different users, not a single user managing multiple devices.

I have a few questions regarding this:

  • Does the requirement for “devices operated by the same user” definitively exclude multiplayer scenarios where devices belong to different players? Can a Multipeer Connectivity-based game qualify for the entitlement in this case?
  • If the entitlement is not applicable, is prompting users to enter custom names the recommended approach for identifying devices in a multiplayer UI?
  • Has anyone successfully obtained this entitlement for a similar multiplayer use case with Multipeer Connectivity?

Thanks in advance.

I’m not involved in the approval process for this entitlement, so I can’t offer definitive answers to your core question. However, that second bullet in the documentation seems pretty clear:

Your app uses the user-assigned device name solely for functionality that’s visible to the user so that they can identify their own device, and the functionality involves interaction between multiple devices that the same user operates.

Regardless, I have some general advice on this front, namely that you should think carefully before going down the Multipeer Connectivity path. In my experience, it causes more problems than it solves.

I have a post, Moving from Multipeer Connectivity to Network Framework, with advice on how to avoid it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

User-Assigned Device Name Entitlement for Multipeer Connectivity
 
 
Q