I dont know why I am getting this message when I click have this code
MPMoviePlayerController *mp = [[MPMoviePlayerController alloc] iniWithContentURL: url];
Is there something, I am missing here?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to import/include the movie player:
Furthermore, the MediaPlayer.framework must be added to your “Frameworks” folder in the XCode project.
To add the framework, right-click on “Frameworks”, then select the path on your system where this framework resides. On my system it is under the following path:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/MediaPlayer.framework