2013-01-04 53 views

回答

0

通常(也許永遠?),你可以調用

[NSDictionary dictionaryWithContentsOfFile:[@"~/Library/Preferences/com.apple.loginitems.plist" stringByStandardizingPath]]

,並直接加載字典從plist文件。當然,假設你是從一個Cocoa應用程序做這個。