I have a video saved in my xcode project that I want to play as a response to a button click. Does IOS have built in media API’s to handle that? Could anyone give the class name that handles video on the iPhone?
Share
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.
Here’s some code to get you started:
By the documentation you have to set the MPMoviePlayerController’s frame with a frame as big as the parent view’s.