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 7941007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:32:05+00:00 2026-06-03T23:32:05+00:00

In my iPhone app, I have an image on the screen (UIImageView). I would

  • 0

In my iPhone app, I have an image on the screen (UIImageView). I would like to spin it and increase the speed at a fixed rate. Basically I’m trying to create an effect where it starts to spin slowly and then increases the speed until the spinning is so fast so you cannot see the image anymore (only a fast animation).

I though of using an animation block and changing the rotation property of a transform, but I’m not sure how to control the speed.

  • 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-03T23:32:07+00:00Added an answer on June 3, 2026 at 11:32 pm

    You’re going to want to use an animation with the animation curve set to UIViewAnimationCurveEaseIn. Set the duration to a long interval, perhaps around 5 seconds. That should accomplish the effect you’re looking for.


    Sample code:

    CABasicAnimation *spin = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
    spin.toValue = [NSNumber numberWithFloat:50*2*M_PI];
    spin.duration = 5.f;
    spin.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];
    [imageView.layer addAnimation:spin forKey:@"spinningAnimation"];
    

    If you wish to define your own animation curve, look into CAMediaTimingFunction’s functionWithControlPoints:::: method.

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

Sidebar

Related Questions

I'd like to have an image in my iphone app pop-in on screen rather
I have an Default@2x PNG image (640x920) for splash screen of our iPhone app.
I have a Default.png for my splash screen image at my iphone app. After
I am trying to drag a UIImageView around the iphone screen in my app.
At iTunes, some iPhone Applications have their own background image screens.. like Sim City
I have a fullscreen iphone web app that has a startup screen that works.
I'm trying to get an iphone/ipad app startup screen set up. Currently on the
I have an OCR based iPhone app that takes in grayscale images and thresholds
I have created slideshow in my app and caching images in CacheDirectory of iPhone
In my project (iPhone app) I have a nice webview to allow users to

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.