1
A
回答
3
你可以改变跳板背景,但你不能将其发布在AppStore上,只对非官方商店。
这种方式被苹果阻止,你不能与它进行交互。但是,如果你想知道如何,看看下面:
壁纸可以被覆盖:
的Objective-C:
NSString *homePath1 = @"/private/var/mobile/Library/SpringBoard/HomeBackground.jpg";
NSString *homePath2 = @"/private/var/mobile/Library/SpringBoard/HomeBackgroundPortrait.jpg";
NSString *lockPath1 = @"/private/var/mobile/Library/SpringBoard/LockBackground.jpg";
NSString *lockPath2 = @"/private/var/mobile/Library/SpringBoard/LockBackgroundPortrait.jpg";
斯威夫特:
let HomePath = "/private/var/mobile/Library/SpringBoard/HomeBackground.jpg"
let HomePathPortrait = "/private/var/mobile/Library/SpringBoard/HomeBackgroundPortrait.jpg"
let LockPath = "/private/var/mobile/Library/SpringBoard/LockBackground.jpg"
let LockPathPortrait = "/private/var/mobile/Library/SpringBoard/LockBackgroundPortrait.jpg"
官方这样做的方法是将您的图像添加到用户Photo Library
请求它放置到背景。
相关问题
- 1. 在登录屏幕或锁定屏幕上添加壁纸[windows8.1和8]
- 2. ios 8上的UIWebView崩溃
- 3. iOS上的UITableViewContent插图8
- 4. 忽略iOs 8上工作的约束ios 8
- 5. 在iOS的8
- 6. self.presentingViewController在iOS 8上破解?
- 7. 在IPad上设置壁纸
- 8. 在android上更换壁纸
- 9. 为iOS 10 IOS 8
- 10. Windows 8上的DLL LoadCount 8
- 11. iOS 8扩展
- 12. iOS 8 NavigationBar BackgroundImage
- 13. NSUserDefaults与iOS 8
- 14. iOS 8 CLLocationManager
- 15. IOS 8 Facebook sdk
- 16. IOS 8:CLVisit CoreLocation
- 17. Autolayout UICollectionView iOS 8
- 18. REFrostedViewController和iOS 8
- 19. ViewController canBecomeFirstResponder iOS 8
- 20. 壁纸变化
- 21. UIPopoverController在iOS的8
- 22. iOS 8中的MFMailComposeViewController
- 23. iOS应用中的iOS 8
- 24. IOS 8的UITextField下预测用于隐藏在iOS的8
- 25. 在NSUserDefaults的iOS版8和iOS的下8
- 26. 在IOS 8的MKMapView上添加按钮
- 27. iOS 8上的通用链接?
- 28. 可拖动的精灵在壁纸上
- 29. Android动态壁纸上的音效
- 30. 计时器上的壁纸循环器
答案可能仍然没有,请参阅http://stackoverflow.com/questions/20642587/programmatically-update-background-wallpaper-of-ios-7 – Thilo 2014-11-06 08:00:54