tags:

views:

1645

answers:

2

Hi . How do I access videos on an iPhone? Where does it store downloaded videos?

Is there any sample code available to access the videos on an iPhone? Thanks in advance.

+4  A: 

There is no (documented) way to programmatically access the video/photo library without user interaction. Your only choice is to instantiate and display a UIImagePickerController and let the user select a video.

Ole Begemann
Can we do filtering in the UIImagePickercontroller to only show videos.
hib
+1  A: 

Here is a blog post that covers the basics of using a UIImagePickerController to acquire a video.

http://sol3.typepad.com/tagalong_developer_journa/2009/07/recorded-video-from-iphone-3gs-.html

You should elaborate on what you are trying to do once you've read that.

Matt Long
Thanks Matt. Its Really helpful.
Rambo
If we are manually adding any videos to iphone using iTunes then where does it store that video?
Rambo