Cocoa - Gaining Root Access for NSFileManager
Cocoa – Gaining Root Access for NSFileManager
So I need to move system files with NSFileManager in my application and I don’t seem to have root access. What would be the easiest way to go about gaining this privilege? I have looked into the BetterAuthorizationSample code provided by Apple, and I don’t seem how I could have the NSFileManager run its task once its been given approval by the user. If anyone could help me out it would be great!
View On WordPress











