简体   繁体   English

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

[英]how to rename the images taken from camera through our app?

I want to know how the iphone take the picture from camera through xcode? 我想知道iPhone如何通过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 请也告诉我有关UIPickerView的详细信息...谢谢,anand

You can use UIImagePickerController to take picture from camera. 您可以使用UIImagePickerController从相机拍摄照片。 You can refer http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html 您可以参考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 您可以从图像选择器中获取UIImage ,您可以根据需要使用它

@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. 对于您的相机问题,@ Anand可以从7KV7寻求帮助,建议链接是apples开发人员文档中最好的链接。从相机拍摄图像,然后对图像进行处理。

As far as UIPickerView is concerned refer UIPickerView and also have a look at iPhone SDK Tutorial UIPickerView而言,请参考UIPickerView并查看iPhone SDK教程

For pickerview you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above. 对于pickerview您必须调用不同的委托方法,而我在上面与您共享的教程中提到了这些方法。

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

相关问题 将从相机拍摄的图像保存到NSMutableArray中 - Saving images taken from camera into NSMutableArray 如何产生与使用本机相机拍摄的图像一样明亮的AVFoundation相机图像? - How to produce AVFoundation Camera Images as bright as those taken with the native camera? KineticJs:如何导入相机拍摄的iPhone视网膜图像? - KineticJs: How to import iPhone Retina Images taken by Camera? 我们如何使用iphone sdk从网站上提取图像并在我们的应用程序中显示? - How can we pull images from a website and display in our app using iphone sdk? 如何从UIImagePicker相机拍摄后裁剪图像? - How to crop image after taken from UIImagePicker Camera? 如何显示科尔多瓦从相机拍摄的图像? (Xcode / iOS) - How to show image taken from camera in Cordova? (Xcode/iOS) 如何编辑直接从相机拍摄的照片并将其上传到 iphone? - How to edit photo directly taken from camera and upload it on iphone? 如何检测照片库中的图像是由iPhone相机拍摄还是导入 - how to detect if image from photo library was taken by iPhone camera or imported 如何调整从iPhone相机拍摄的照片以降低分辨率? - How to resize picture taken from iPhone Camera to lower resolution? 如何从相机拍摄图像以占据整个屏幕 - How to get an image taken from the camera to take up the entire screen
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM