I have a code
- (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFindMatch:(GKMatch *)match { [menuViewController dismissModalViewControllerAnimated:YES]; [GameKitWrapper getSingleton].match = match; match.delegate = [GameKitWrapper getSingleton].remotePlayer; [menuViewController presentModalViewController:avatarSelectionViewController animated:YES]; }
But I have a problem that dismissal works, but not real. When I changed rejectModalViewControllerAnimated: YES to reject ModalViewControllerAnimated: NO, it worked, but it doesn’t look very good.
Any help is appreciated.
source share