Posts

Post not yet marked as solved
6 Replies
562 Views
We are working on a project that communicates location data via a network. We are able to get the Location Services to work using: <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>Location data will be used to monitor your position</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Location data will be used to monitor your position</string> And we able to get the networking functionality to work using: <key>NSBonjourServices</key> <array> <string>_appName-data._tcp</string> <string>_appName-data._udp</string> <string>_appName-chat._tcp</string> <string>_appName-chat._tcp</string> </array> and <key>NSLocalNetworkUsageDescription</key> <string>appName needs to use your phone&apos;s data to discover devices nearby</string> However, we are only able to use these independently. When both are included together, the NSBonjourServices quits working, but the location services works. Any one know what needs to be done to have both working together?
Posted Last updated
.