Post

Replies

Boosts

Views

Activity

Reply to How do I hide GKAccessPoint?
Apple advised that you place you access point in a view which is not your main view, that way, you won't have to worry about hiding it. But if you still want to hide it, you could try set GKAccessPoint.shared.active = false in your authenticateUser() method like below. func authenticateUser() {			 localPlayer.authenticateHandler = { vc, error in			 guard error == nil else {						 print(error?.localizedDescription ?? "")						 return						 }				 GKAccessPoint.shared.location = .topLeading				 GKAccessPoint.shared.showHighlights = false				 GKAccessPoint.shared.isActive = false			 print(localPlayer.isAuthenticated)			 }	 }
Topic: Graphics & Games SubTopic: GameKit Tags:
Sep ’20