Contents

location

The corner of the screen to display the access point.

Declaration

var location: GKAccessPoint.Location { get set }

Mentioned in

Discussion

Use this property to set one of four corners to display the access point in your game. The default for left-to-right languages is the upper-left corner, and for right-to-left languages, it’s the upper-right corner.

If the parentWindow property is nil for volumetric and immersive visionOS games, GameKit doesn’t use the location property. For more information, see Configure the access point on visionOS.

See Also

Managing the location