Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7715577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:25:16+00:00 2026-06-01T02:25:16+00:00

I need to do the following animation with an audio clip, on repeat: Show

  • 0

I need to do the following animation with an audio clip, on repeat:

  • Show image1, image2 and image3 for one second in total (0.33 seconds each)
  • Show image4 for five seconds and play an audio file.
  • Show image5 and image6 for one second each
  • Repeat 3 times

Ideally, I’d like to create an animation, start it animating and leave it to do it’s stuff. i.e. create a UIImageView, build the “animations” array with images, and call “startAnimating”. But to do this I’d need to include image4 15 times and images 5 and 6 3 times so the animation is correct. I’d also have to schedule the audio for every 2nd second of every 8 second loop.

What other options do I have for creating this type of multi-stage animation? Should I handle each part separately, with a delegate callback when the animation finishes, which prompts me to then animate the next part of the sequence until the entire animation has repeated 3 times?

Any advice much appreciated. Thanks guys.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:25:17+00:00Added an answer on June 1, 2026 at 2:25 am

    just a quick rough thought, not been practiced with real code:

    1. you need a general purpose UIViewController controlling over everything
    2. you need a UIViewController subclass doing each scene, with configurable properties like: image, duration, bgMusic, etc. also define a protocol with delegate method, something like -(void)didAnimationFinish;
    3. in your main viewcontroller (described in 1), build an array which
      holds a number of viewcontroller instances
      (described in 2), remember configure them as desired, and assign
      their delegates to main viewcontroller
    4. fire the first animation
      viewcontroller either by presentingModalViewController
    5. wait get called by delegate methods and move on to the next index of
      array
      (described in 3)

    again, just a quick idea

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following animation for a button, for another button I need to
I'm using jquery-1.6.2 and jquerymobile and I cant do the following simple animation: $('#dtgame').show(slide,
I need following function (from C++ dll) available in C++/CLI extern C _declspec(dllexport) void
I need following namespaces to use native wpf property grid however, VS 2010 doesn't
I need the following C function in Python: int func(Uint8 *bytRecvBuffer, int *iRecvLen); I
I need the following xml to be made in code: <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:gravity=right
I need the following authentication script finished. I am weak at php/pdo so I
I need the following logic. If array contains value , return it else return
I really need the following in magento. When a customer shows the config product
For a part of a program i need the following 2 methods. The first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.