¡@

Home 

2014/10/15 ¤U¤È 10:11:31

iphone Programming Glossary: movieviewcontroller

Warning about window hierarchy

http://stackoverflow.com/questions/12704984/warning-about-window-hierarchy

a warning like this in my debugger What does this mean Warning Attempt to present RootViewViewController 0x134ce9c0 on MovieViewController 0xa967290 whose view is not in the window hierarchy I also make the MovieViewController as the initial view controller in.. 0x134ce9c0 on MovieViewController 0xa967290 whose view is not in the window hierarchy I also make the MovieViewController as the initial view controller in Storyboard I am also using ARC. NOTE This doesnt appear when I add two super viewDidLoad.. super viewDidLoad 1 in the middle in lowest part of the viewDidLoad which is wrong. Here is my implementation of the MovieViewController void viewDidLoad super viewDidLoad self.view.backgroundColor UIColor whiteColor NSString moviePath NSBundle mainBundle pathForResource..

iphone MPMoviePlayerViewController CGContext Errors

http://stackoverflow.com/questions/13203336/iphone-mpmovieplayerviewcontroller-cgcontext-errors

to fix it. Here are the details of my code .h file #import UIKit UIKit.h #import MediaPlayer MediaPlayer.h @interface MovieViewController UIViewController MPMoviePlayerViewController playerController IBAction playMovie id sender .m file @interface MovieViewController.. UIViewController MPMoviePlayerViewController playerController IBAction playMovie id sender .m file @interface MovieViewController @end @implementation IBAction playMovie id sender NSURL url NSURL fileURLWithPath NSBundle mainBundle pathForResource..

iPhone cannot rotate movie to landscape mode using MPMoviePlayerViewController

http://stackoverflow.com/questions/8982111/iphone-cannot-rotate-movie-to-landscape-mode-using-mpmovieplayerviewcontroller

pathForResource self.currentVideoModel.videoFileName ofType @ m4v NSURL fileURL NSURL fileURLWithPath filepath MovieViewController is just a simple subclass of MPMoviePlayerViewController self.moviePlayerController MovieViewController alloc initWithContentURL.. filepath MovieViewController is just a simple subclass of MPMoviePlayerViewController self.moviePlayerController MovieViewController alloc initWithContentURL fileURL full screen code. self.moviePlayerController.moviePlayer setScalingMode MPMovieScalingModeFill..