0

GKSessionPEERMODE で使用して、さまざまなデバイスとの複数の接続を確立しています。

[I(denoted as Z) have 3 connections with A, B and C.]

   (All with same session ID)
      <-----> A
    Z <-----> B
      <-----> C

しかし、次のような特定の peerID を持つ特定の接続を終了する方法がわかりません。

      <-----> A
    Z <--x--> B    disconnect with B, but A & C remain connected
      <-----> C

Classのリファレンスを読み、GKSessionWeb で検索しましたが、有用な情報が見つかりませんでした。誰か助けてくれませんか?

4

1 に答える 1

1

試しましたか

- (void)disconnectPeerFromAllPeers:(NSString *)peerID

B の peerID を持つ ? よろしく!

于 2012-05-29T10:25:27.957 に答える