Hi I would like to record a video in iPhone through Objective-C. Can someone provide me the sample code to write my own code. I have no idea how to do it. And i need it in h
See Apple's overview of "Taking Pictures and Movies" here.
For a quick solutions, you should use UIImagePicker, which allows you to capture photos/video in your application using Apple's UI.
The Apple documentation for this class is here: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html