2009-06-18 7 views

Répondre

2

Voici un lien vers la documentation pour MPMoviePlayerController: http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/occ/instm/MPMoviePlayerController/initWithContentURL:

Il est aussi simple que la création d'une URL pour le fichier local en utilisant:

[[NSBundle mainBundle] pathForResource: ofType:] 

Puis, passant cet url en:

[[MPMoviePlayerController alloc] initWithContentURL:] 
Questions connexes