Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

i want to get a list of all Videos which are in the itunes library, how i get the access to them? later I want to play them eventually, but not in fullscreen. i hope you can help me.

share|improve this question
    
Look at ALAssetsLibrary. – rmaddy Apr 28 '14 at 14:58
up vote 0 down vote accepted
MPMediaPropertyPredicate *predicate = [MPMediaPropertyPredicate predicateWithValue:@(MPMediaTypeAnyVideo) forProperty:MPMediaItemPropertyMediaType];
MPMediaQuery *movieQuery = [[MPMediaQuery alloc] init];
[movieQuery addFilterPredicate:predicate];

NSArray *allVideos = [movieQuery items];
share|improve this answer
    
thank you very much – Meins Apr 29 '14 at 7:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.