如何通过我们的应用程序重命名从相机拍摄的图像?
我想知道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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 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 referhttp://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@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 TutorialFor
pickerview
you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above.