In OS X mentioned in the title, how can I get an existing patent for the user's "Favorite" directories on the left Am I
In addition, if you guys will also tell me whether the document has been removed again in my question thank you in advance!
If you want to access only normal directories such as documents, desktops, movies, etc., < Code> - [NSFileManager URLsForDirectory: inDomains:] is the API you are looking for. You would like to use the If you are actually trying to get the list of folders, then the current user is in the "Favorites" section of their finder sidebar (users can customize this list), then do something for you The answers can be. NSUserDomainMask for the domain parameter and the
NSSearchPathDirectory constant (like
NSMoviesDirectory ) for the directory parameter.
No comments:
Post a Comment