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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:33:04+00:00 2026-06-01T07:33:04+00:00

I’m making a tab bar iphone app and I wanted to have an animated

  • 0

I’m making a tab bar iphone app and I wanted to have an animated tab bar icon, I can’t find anything that works, it may not be possible, maybe one of you have done something similar?

  • 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-01T07:33:05+00:00Added an answer on June 1, 2026 at 7:33 am

    Not sure if you already solved this, or if you no longer need to do it but this is possible in a few ways. You can either completely create your own TabBar from scratch and build in a mechanism for animating the image. Or, as I assume you want to, you could tweak a UITabBarController to do this for you.

    In your controller when you first set the items for your tab bar:

    [self.tabBar setItems:(NSArray *)items animated:(BOOL)animated];
    

    Where self is your UITabBarController. Before this you should have already created your UITabBarItems to put onto the tabBar (I will assume you know how to do this, if not let me know), you will need to retain the ones that you want to animate in a property.

    @property (retain) UITabBarItem *animatingTabBarItem;
    

    OR

    @property (retain) NSMutableArray *animatingTabBarItems;
    

    if you have several that you want to animate.

    So, when you create the set the items on the tab bar, also start a timer, something like

    [NSTimer scheduledTimerWithTimeInterval:0.2 target:self selector:@selector(animateTabBar) userInfo:nil repeats:YES];
    

    This will mean that the method,

    - (void)animateTabBar {
    
    }
    

    will get hit every 0.2 seconds. Make sure you have defined the method in your interface, either in your .h file or at the top of your .m file. In this method recall,

    [self.tabBar setItems:(NSArray *)items animated:(BOOL)animated];
    

    With a new set of UITabBarItems that have the images that you want for the next frame in your animation, keep a store of what frame of your animation you are on somewhere, probably in a NSUInteger ivar, and then switch between the images in your timer method. This animation will look a bit like a flick book animation.

    Hope this helps, if not let me know and I’ll see what I can do 🙂

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
this is what i have right now Drawing an RSS feed into the php,

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.