if I want to create a NIDiscoveryToken object not use MultipeerConnectivity, how to do it?
how to create a NIDiscoveryToken object?
Discovery Tokens are provided to your app through the NISession objects you create. Each NISession object has a discoveryToken property which allows you to access the session's Discovery Token.