The question regarding kNotifySCNetworkChange comes from an abundance of
caution. It seems to work just fine, but as you say there may be a
better way.
I've been using it to indicate when to check for an SSID change.
-Mike
On 11/26/15 12:25 AM, Quinn "The Eskimo!" wrote:
On 25 Nov 2015, at 18:47, Michael Brian Bentley <bent...@crenelle.com> wrote:
With the switch to NEHotspotHelper, I wonder if the following still works to
indicate a network configuration change occurred?
"com.apple.system.config.network_change" is actually defined as a symbolic constant,
kNotifySCNetworkChange from <notify_keys.h>, so you should use that rather than a
hard-coded string because it makes it clear that you're using public API.
Beyond that, I'm not sure why you're concerned that NEHotspotHelper might
impact on this. I fully expect this notification to work as well as it ever
did.
What behaviour are you keying off this notification? In most cases there's a
better approach.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/bentley%40crenelle.com
This email sent to bent...@crenelle.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com
This email sent to arch...@mail-archive.com