Post

Replies

Boosts

Views

Activity

Should the MCPeerID in MultiPeerConnectivity be consistent between sessions?
I have read that I am supposed to reuse my MCPeerID so I store it in UserDefaults. But it appears to be different when I read it back when loading the app. If the peerID is going to change anyway, then what is the point of storing it? I was hoping to solve reliability problems by reusing the peerID but it doesn't seem to help. Am I doing it wrong or is the peerID supposed to change every session?
0
0
409
Jul ’20