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.