[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Question with Objective-C and iPhone

Posted on 2011-02-19
4
Medium Priority
?
1,442 Views
Last Modified: 2012-05-11
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 MPMoviePlayerViewController 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++.
0
Comment
Question by:numberkruncher
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
t-max earned 1500 total points
ID: 34934352
0
 
LVL 13

Author Comment

by:numberkruncher
ID: 34934560
Thanks,

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.
0
 
LVL 6

Expert Comment

by:t-max
ID: 34934667
Great, I'm glad to help. All the best!
0
 
LVL 13

Author Closing Comment

by:numberkruncher
ID: 34950892
Thanks for your help, I managed to work out the rest by myself.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question