ios - Only use Automatch in Gamecenter -


how remove invite friend button gkmatchmakerviewcontroller?

when printing of subviews in see navigation bar.

i presenting this:

gkmatchmakerviewcontroller *mmvc = [[gkmatchmakerviewcontroller alloc] initwithmatchrequest:request];  mmvc.matchmakerdelegate = self;  [viewcontroller presentviewcontroller:mmvc animated:yes completion:nil]; 

unfortunately isn't possible, looked removing quick match button myself , found couldn't done.

you can set own custom invite screen, check out 'implementing custom match user interface' section in 'real time matches' section of ios documentation. there many code examples show here i'll have supply description , link:

https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/gamekit_guide/matchmaking/matchmaking.html

description

implementing complete custom match interface can simple displaying network progress indicator until auto-matching completes, or sophisticated implementing complete custom view controller replicates standard behavior. latter potentially significant investment in programming time, needs include support of following:

  • inviting specific players match
  • listening responses invited players
  • looking nearby players (available via wi-fi or bluetooth)

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -