我想换iOS 12的主屏和锁屏壁纸
最佳答案
简答:
In one word it is not possible. In Apple devices, There is no provision for the change iOS Screen wallpaper programmatically. The user has to do that manually through the settings or photos app. For things like changing wallpapers, you'd need to jailbreak your device.
长答案:
在 iOS 9.0 之前,有一些 hack 可以完美地工作。不幸的是,从 iOS > 9.0 开始,别无选择。
引用CMFWallpaper .也许它会对你有所帮助。
Set the wallpaper (lock and/or home screen) on iOS using Apple's private API. Please be aware that including this code in an App Store submission will result in a rejection.
关于ios - 我可以在 Swift 5 和 IOS 12 中以编程方式更改 iOS 屏幕壁纸吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56112014/