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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:10:00+00:00 2026-06-06T11:10:00+00:00

i want to animate tableviewcell background image with two blinking images on didSelectRowAtIndexPath. We

  • 0

i want to animate tableviewcell background image with two blinking images on didSelectRowAtIndexPath. We can use following code, but it will show one image in background. However I want gif like image which blinks.

cell.backgroundView = [ [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"correctAnswer.png"]]autorelease];  
  • 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-06T11:10:02+00:00Added an answer on June 6, 2026 at 11:10 am

    UIImageView has the ability to do animation with the animationImages property.

    UIImageView* imgView = [[[UIImageView alloc] init] autorelease];
    imgView.animationImages = [NSArray arrayWithObjects:
        [UIImage imageNamed:@"correctAnswer1.png"],
        [UIImage imageNamed:@"correctAnswer2.png"], nil];
    
    imgView.animationDuration = 0.5;
    cell.backgroundView = imgView;
    [imgView startAnimating];
    

    You need to have each frame of the animation included in your project, correctAnswer1.png, correctAnswer2.png, etc…

    Also, wouldn’t it be better to use UITableViewCell‘s imageView property? That way you would get your animation in the left of the cell and it wouldn’t interfere with the text or any other parts of the cell…

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

Sidebar

Related Questions

i want to use .animate function but i have some problems i want to
i want to animate my two window using NSWindowFlipper i get the code from
I want to animate the background, but it won't change with .animate! <script src=https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js></script>
I have following code snippet in jquery.In which,I want to animate each element of
I want to animate some ellipses with a SplinePointAnimationWithKeyframes, but I can't figure out
I want to animate movement of a selection box in ListView so it will
I want to use .animate to change colors when .bind('click') is fired, using jquery
I want to use a series of RotateDrawable objects to animate a compound pendulum
I want to animate the scaling down of a UIView, but not about its
I want to switch the image shown in an NSImageView , but I want

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.