Milander
Milander

Reputation: 1061

iOS Game Center send friend invites

Since iOS 10 the Game Center app is removed as a application. The problem I am facing with the removal of the application is that I can't figure out how I can add Game Center friends.

"You no longer add friends to Game Center. Instead, you invite people to play via iMessage for supported games. Game Center support is implemented by each app developer."

Is it possible to send a iMessage invite with in my application? And yes, how can I do this?

Upvotes: 1

Views: 440

Answers (2)

Nick
Nick

Reputation: 77

After using GKMatchMakerViewController, you still need to add an event listener as well.

Upvotes: 0

Ralph
Ralph

Reputation: 473

After the local user is authenticated and you present a GKMatchMakerViewController, the following screen will appear. Users can then invite friends via imessage by selecting the "Invite Friends" button in red below:

enter image description here

Upvotes: 2

Related Questions