Does startAdvertisingPeer work when app enters background?
问题 I'd like the app to advertise a service even when the app enters the background. With Core Bluetooth, this is possible by setting bluetooth-peripheral for UIBackgroundModes. Does anyone know if the same can be achieved with MCNearbyServiceAdvertiser? Thanks. 回答1: When I was at WWDC this year I went to a Developer Lab for Multipeer Connectivity and was told by an Apple engineer that no, service advertisers and browsers will not work in the background. That said, I've been successfully