It seems this method is not updated for the new "Show on all Spaces" option in system wallpaper preferences.
I encounter this problem because one customer reported that every time my app sets a new wallpaper, this option is turned off.
NSDictionary* options = [SHARED_WORKSPACE desktopImageOptionsForScreen:screen];
[SHARED_WORKSPACE setDesktopImageURL:imageFileURL
forScreen:screen
options:options
error:&error];
This can be easily verified by dumping the returned dictionary - which only contains 3 keys.
Is this a known bug?