如何通过我们的应用程序重命名从相机拍摄的图像?

发布于 2024-10-21 01:51:51 字数 104 浏览 3 评论 0原文

我想知道iphone如何通过xcode从相机中拍摄照片? 以及如何存储?,如何重命名?以及我们的工作完成后如何删除它? 请告诉我有关 UIPickerView 的详细信息... 谢谢你, 阿南德

I want to know how the iphone take the picture from camera through xcode?
and how it is stored ?,How to rename it? And how to delete it after our work completion?
please tell me the details about the UIPickerView also...
Thank You,
anand

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寄居人 2024-10-28 01:51:51

您可以使用 UIImagePickerController 从相机拍照。您可以参考
http://developer.apple.com/ Library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

你可以从imagepicker中获取一个UIImage,你可以根据你的需要使用它

You can use UIImagePickerController to take picture from camera. You can refer
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

You can get an UIImage from the imagepicker which u can use according to your needs

永言不败 2024-10-28 01:51:51

@Anand 对于您的相机问题,请从 7KV7 建议链接获取帮助,这是苹果开发人员文档中最好的链接
从相机中获取图像,然后对该图像执行您想要执行的操作。

UIPickerView而言,请参阅UIPickerView 并查看 iPhone SDK 教程

对于 pickerview,您必须调用不同的委托方法,这些方法在我上面分享给您的教程中提到。

@Anand for your camera issue take help from the 7KV7 suggest link that is the best one from the apples developer document
Take image from camera and then do it what you want to do with that image.

As far as UIPickerView is concerned refer UIPickerView and also have a look at iPhone SDK Tutorial

For pickerview you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文