swift - Set desktop background image for all Spaces (possibly using com.apple.desktop) -
i want change desktop background image of user's spaces @ same time. after research found a solution relies on accessing .plist file named "com.apple.desktop". when try access file using line of code, value nil
:
let desktopdict = nsuserdefaults.standarduserdefaults().persistentdomainforname("com.apple.desktop")
yet, if try same thing string ie: "com.apple.dock" dictionary expected. know syntax right, seems way access com.apple.desktop plist has changed in past couple years.
can still use com.apple.desktop change wallpaper spaces @ once? or there other way should doing this? thanks.
Comments
Post a Comment