In my app, I want to reproduce a view which looks exactly like the "Videos" native iPad app (it displays Movies and iTunes U videos located on the iPad).
I don't know how to access those elements on the iPad (Movies and iTunes U).
I've played with everything mentionned in the Apple documentation "IPod Library Access Programming Guide":
- MPMediaItem
- MPMediaPickerController
- MPMediaQuery
- MPMoviePlayerController …etc…
I thought I was close with MPMediaItem and MPMediaQuery, as two of the Flags seemed promising:
MPMediaTypeMovie = 1 << 8 MPMediaTypeVideoITunesU = 1 << 12
However, all the results I get only include songs.
Am I using the right classes to access those items? Considering the results I get, it seems like those classes can only access media items which are part of the iPod library, which I am not sure is the case for Movies and iTunes U videos.
I know that this is possible, because I've seen another app which accesses it (It's called "VideoPix"). It presents the "Video Library" in a Popover view, so at first I suspected it was using the MPMediaPickerController, because on the iPad, you can only use it in a Popover, but again, when I tried it, all I saw was songs, no Movies or iTunes U items :(
Thank you in advance!
Fred