Swift-更改iPhone背景 [英] Swift - Change iPhone background

查看:72
本文介绍了Swift-更改iPhone背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当时正在考虑使用应用程序更改iPhone背景.Swift中有一些代码可以更改iPhone背景吗?

I was thinking about changing iPhone background using app. Is there some code in Swift to change iPhone background?

我的意思不是更改应用程序的背景.我的意思是完全改变iPhone的背景.

I don´t mean change background of app. I mean change background totally of the iPhone.

推荐答案

到目前为止,目前尚无法访问设备的墙纸.

There is no way to currently access the device's Wallpaper as of now.

尽管越狱的设备可以访问此功能,但从本质上讲,Apple不允许这样做.

Essentially Apple doesn't allow it, though jailbroken devices can access this functionality.

也不允许您在第三方应用中设置或更改整个手机的墙纸.用户必须通过设置或照片应用程序手动执行此操作.您可以添加有关用户如何在您的应用程序中执行此操作的说明.

You also aren't allowed to set or change the wallpaper of the entire phone in third party apps. The user has to do that manually through the settings or photos app. You can add instructions as to how the user can do that in your app.

这篇关于Swift-更改iPhone背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆