1

I want to run a privileged helper tool as a one-off thing when required, and I'm using SMJobBless to do this. However, the text and button of the authorization dialog box imply that the app is trying to install a helper tool, perhaps one that may permanently run in the background (screenshot). But I don't want users to get the wrong impression. So is there any way to get the old type of dialog box back, which simply said: <App> wants to make changes. Type your password to allow this.? I understand that for security reasons Apple wouldn't allow customizing the text, but it should at least allow reverting to the old-style dialog box.

4

1 回答 1

0

这可以在AuthorizationRef使用创建时完成kAuthorizationEnvironmentPrompt

于 2013-01-19T05:44:14.157 回答