Post

Replies

Boosts

Views

Activity

GKAccessPoint isVisible property is always false
I need to observe when the GKAccessPoint is visible on screen. The isVisible - https://developer.apple.com/documentation/gamekit/gkaccesspoint/3547233-isvisible property of GKAccessPoint should provide that and even better, it is an observable property. Unfortunately this property never becomes true. Observing it and/or checking the property directly always return false, even though the GKAccessPoint is visible on screen. I've tried this on iOS 14.0, 14.2 beta and on tvOS 14.0. With both an existing game (SpriteKit) and a new game with SwiftUI. And no matter what I do, it always reports false. The Game Center integration works perfect otherwise, it is just this property that I can't seem to use as intended. Anyone using the inVisible property and got it working as described? And have any ideas what might be the reason why it does not report true even though it is visible?
3
1
833
Oct ’20