how to rename the images taken from camera through

2019-06-14 05:51发布

问题:

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

回答1:

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



回答2:

@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.