I want to pick a video from iPhone for my application for uploading on the Web. I am using the UIImagePickerController for it.
For for opening picker
You're using the wrong delegate method. iOS 3.0 introduced imagePickerController:didFinishPickingMediaWithInfo:
to replace imagePickerController:didFinishPickingImage:editingInfo:
. This new method receives an NSDictionary which contains a number of key-value pairs related to the chosen image/video; in your case, you'll want to check the value for UIImagePickerControllerMediaURL
.