NetServiceBrowser service always fails on iPhone if we create build from xcode 12.
// We are using following line in to start searching for sevices available on network
//
self.serviceBrowser.searchForServices(ofType: "_http._tcp.", inDomain: "local.")
It return following error dicitonary : ["NSNetServicesErrorCode": -72008, "NSNetServicesErrorDomain": 10]
I did not find -72008 in error codes for NSNetServicesErrorDomain.
It works as exepcted with previous vesions of Xcode. With Xcode 12 it works only on Simulator.
Post
Replies
Boosts
Views
Activity
I go to main app from widget then update the shared data from main application and dissmiss it by tapping on home button. But widget UI is not updating for updated data.
I reload widget data in TodayViewControllers ViewWillAppear but in this case ViewWillAppear is not getting called.
Where can I ask widget to reload the data?
I tried adding notification for Userdefaults data change but it gets called only when I update the data from widget.