A collection of handy code snippets in the languages that I use on a daily basis.
February 4, 2009
iPhone: MPMoviePlayerController preload issues
As of this writing, the MPMoviePlayerController object doesn't seem to send the MPMoviePlayerContentPreloadDidFinishNotification notification on the iPhone Simulator. This is happening when I'm loading an .m4v over the net. This issue makes my app appear broken on the simulator, because I'm waiting for the preload to finish before calling the "play" function on the MPMoviePlayerController object. When I test on the iPhone itself, there's no problem. Just an FYI.
Labels:
cocoa,
iphone,
m4v,
MPMoviePlayerController,
objective-c,
preload,
simulator
Subscribe to:
Posts (Atom)