0
我花了幾個小時試圖調試這個,所以我想我會在這裏發佈,以幫助或許可以幫助別人解決頭痛問題!GKMatchmakerViewController委託方法不被調用
GKMatchRequest *matchRequest = [[GKMatchRequest alloc] init];
matchRequest.minPlayers = 2;
matchRequest.maxPlayers = 2;
GKMatchmakerViewController *controller = [[GKMatchmakerViewController alloc] initWithMatchRequest:matchRequest];
controller.delegate = self;