I got this same error when making a fetchAssets call outside of the main thread.
Try calling your "queryLastPhoto" from the main thread like this:
DispatchQueue.main.async {
self.queryLastPhoto(to: SIZE) {
// my callback
}
}
Post
Replies
Boosts
Views
Activity
The new MultipeerConnectivity documentation describes a new usage string that you need in your Info.plist file:
Apps that use the local network must provide a usage string in their Info.plist with the key NSLocalNetworkUsageDescription. Apps that use Bonjour must also declare the services they browse, using the NSBonjourServices key. You can find a description of the key here:
https://developer.apple.com/documentation/bundleresources/information_property_list/nslocalnetworkusagedescription?changes=latest_major