Is there a way to receive a notification/callback if network proxy settings change in OSX/iOS? -


I change network proxy settings in OSX / IOS (C, C ++, or Objective C) so I want to receive a notification / callback.

Monitor system configuration with SCDynamicStoreSetNotificationKeys () . You need to look for those keys, see who. See SCDynamicStoreCreateWithOptions () , how to set the SCDynamicStore object with notification callback.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -