What platform is this on? And what version of that OS?
Also, I’d like more details about exactly what you tested here. My best guess is this:
-
Run the app from Xcode.
-
Perform a local network operation.
-
It prompts for local network access. Allow that.
-
Stop the app.
-
In Settings, disable the app’s Local Network privilege.
-
Run the app from Xcode again.
-
Perform a local network operation.
-
It doesn’t prompt for local network access, because it’s already prompted once. Instead, the operation just fails.
-
Stop the app.
-
In Settings, enable the app’s Local Network privilege.
-
Run the app from Xcode again.
-
Perform a local network operation.
-
It doesn’t prompt for local network access, because it’s already prompted once. However, the operation fails rather than being allowed.
Is that right?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"