桌面壁纸更改时通知? [英] Notification when desktop wallpaper changes?
本文介绍了桌面壁纸更改时通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当桌面壁纸更改时,是否有任何通知?
is there any kind of notification available for when the desktop wallpaper is changed?
谢谢!
推荐答案
[[NSDistributedNotificationCenter defaultCenter] addObserver:target
selector:@selector(desktopImageChanged:)
name:@"com.apple.desktop"
object:@"BackgroundChanged"];
应该作业
这篇关于桌面壁纸更改时通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文