简体   繁体   English

如何通过iOS 4.0使用照片库从我的nativa应用程序设置壁纸?

[英]how can i set wallpaper from my nativa application thru iOS 4.0 using Photo Library?

我在iOS 4.0中创建了一个应用程序。在使用Photo Library的应用程序中,我在ImageView中获取图像,从Button Click我想将该图像设置为iPhone背景,那么我该如何使用iOS 4.0进行操作?

Unfortunately, neither iOS 4.0 (nor even 5 for that matter) allow you to change the user's background from within an application, only from the Settings application. 不幸的是,iOS 4.0(甚至5个)都不允许您从应用程序中更改用户的背景,只能从“设置”应用程序中更改用户的背景。 The most you could do is prompt a user to save the image to the Camera Roll, open the Photos application, and set it themselves. 您可以做的最多是提示用户将图像保存到相机胶卷,打开照片应用程序,然后自行设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在iOS中访问照片库? - How can I access the photo library in iOS? 如何使用URL路径从iOS的照片库中获取图像? - How to fetch an image from photo library of iOS using URL path? 如何在cocos2D应用程序(iOS 6)中拍照 - How can i take photo in cocos2D application (iOS 6) 如何将照片库或相机中的图像添加到我的Ipad应用程序? - how to add image from photo library or camera to my Ipad application? 如何取消Twitter与iOS应用程序的链接 - How can I unlink Twitter from my iOS application 如何为仅从iOS中的图片库中选择的视频设置allowEditing for UIImagePickerController? - How to set allowsEditing for UIImagePickerController only for videos selected from photo library in iOS? iOS 9.3无法使用在iPad上运行的iPhone应用程序从照片库中获取缩略图 - iOS 9.3 can not get thumbnail from photo library using iPhone App running on iPad 当在iOS4中使用UIImagePickerController从照片库中进行选择时,您可以先开始w / new吗? - When using the UIImagePickerController in iOS4 to pick from the photo library can you start w/newest first? 如何从iOS照片库中获取图像并将其显示在UIWebView中 - How do I get an image from the iOS photo library and display it in UIWebView 如何使用目标c中的Photo框架从图库访问照片 - How can i access the photo from gallery using Photo framework in objective c
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM