numberkruncher
asked on
Question with Objective-C and iPhone
I am experimenting with Objective-C for iPhone with XCode. I have a single-view application and need to add two videos. The first video must loop until the phone is shaken and then it must play the second video as soon as the first video finishes.
I cannot figure out how to add a video. I have included the movie player framework and am trying to figure out how to achieve this. I am experimenting with the MPMoviePlayerViewControlle r class.
I am completely new to Objective-C and am having a hard time understanding the syntax. I am fairly adept at both C and C++.
I cannot figure out how to add a video. I have included the movie player framework and am trying to figure out how to achieve this. I am experimenting with the MPMoviePlayerViewControlle
I am completely new to Objective-C and am having a hard time understanding the syntax. I am fairly adept at both C and C++.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Great, I'm glad to help. All the best!
ASKER
Thanks for your help, I managed to work out the rest by myself.
ASKER
Okay, I have got the video playing now.
I have managed to get the video to repeat continuously. I would like to add an event handler which changes the video when the phone is shaken.
I am starting to get a grasp over the syntax now.