Hi there, When our OS X NetworkExtension App first time launch and create an VPN profile, the system will prompt a dialog like
“XXX app” Would Like to Add VPN Configurations
……
[Allow] [ Don’t Allow]
in iOS, there’s a similar mechanism, iOS will jump to setup app, then jump back
to my app; it gives me the time to reload manager, and display correctly.
But on OS X, there’s no App switch, it cause us hard to choose the time to
reload the manager.
When debug the code flow, I found the profile already created when the dialog
display, it just wait user to click ‘Allow’ or ‘Don’t Allow’ button.
because of this, I can’t display the created profile in NSTableView, and don’t
know the user’s choice either.
I was wondering if there’s a way to know what’s the user’s choice? via some
kind of KVO mechanism?
Or, can I ask the permission directly at the first time my App launch before
create profile, instead of wait till first profile created?
Any suggestion is appreciate.
— Kevin
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com This email sent to [email protected]
