Post

Replies

Boosts

Views

Activity

Comment on Show a UIMenu on double-tap?
Thanks for the quick response, and the suggestion. If I went that route, would it still have to be two separate, spaced-out taps, i.e. one tap to focus, then we enable the menu, then the user taps again? Would a double-tap always get picked up as a single double-tap gesture?
2w
Comment on How can I tell if NetService#publish is failing because it lacks permissions?
I can confirm that by moving from NetService to NWBrowser/NWListener (as you suggest), you do get notified of this problem in the NWBrowser#stateUpdateHandler callback. This is very helpful for me, but I'm not sure how to check that a specific NWBrowser.State instance represents waiting(-65570: PolicyDenied). I can only see this information when I print the debugDescription or print the value in the LLDB console, but how do I check specifically that the state is PolicyDenied?
Apr ’23