开发者

How to ask for permissions?

开发者 https://www.devze.com 2022-12-31 01:11 出处:网络
How do I create a dialog l开发者_开发知识库ike the following one in Objective-C? Mac OS X authorization http://img340.imageshack.us/img340/5900/screenshot20100522at153.png

How do I create a dialog l开发者_开发知识库ike the following one in Objective-C? Mac OS X authorization http://img340.imageshack.us/img340/5900/screenshot20100522at153.png

I'm quite new to Objective-C, and I need root access to a file in the /etc directory.

Thanks!! Yvan


Check out Authorization Concepts and the code sample: BetterAuthorizationSample.

0

精彩评论

暂无评论...
验证码 换一张
取 消