I want to use any media from custom media library in my iPhone application. Just like we select an image from a photo library. Is there an API for this?
Take a look at the UIImagePickerController class. It allows you to select images from your photo library or camera.