I have an application that changes the desktop background for users based on files they specify.
It worked quite well in 10.4 and 10.5, but Apple seems to have changed some system notifications which means the code I had written no longer works.
I was wondering if anyone has seen any examples, or have worked out how to change the image? It seems they still use the com.apple.desktop property list, but the notification of the file change doesn't seem to work anymore.
I used to notify the OS of the new background using this command:
[[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.desktop" object:@"BackgroundChanged"];
Any ideas?