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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:47:37+00:00 2026-06-17T03:47:37+00:00

What is the best solution for simple iOS text/label animation? The details: user need

  • 0

What is the best solution for simple iOS text/label animation? The details: user need to see one label on the iOS screen with changed text from array de 10-15 words, one word by step separated by white screen.The show time the one word is 800-900 ms and the show time the white screen is 500 ms. There is one kind of the attention test.

  • 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-17T03:47:38+00:00Added an answer on June 17, 2026 at 3:47 am

    If you just want to flash words, you can use NSTimer or just performSelector:

    @interface ViewController ()
    
    @property (nonatomic, strong) NSArray *words;
    @property (nonatomic) NSUInteger wordIndex;
    
    @end
    
    @implementation ViewController
    
    static CGFloat const kWordShowInterval = 0.8;
    static CGFloat const kWordHideInterval = 0.4;
    
    - (void)viewDidLoad
    {
        [super viewDidLoad];
    
        self.words = @[@"one", @"two", @"three", @"four"];
        self.wordIndex = 0;
    
        [self showWord];
    }
    
    - (void)showWord
    {
        if (self.wordIndex >= [self.words count])
            return;
    
        self.wordLabel.text = self.words[self.wordIndex];
    
        [self performSelector:@selector(hideWord)
                   withObject:nil
                   afterDelay:kWordShowInterval];
    }
    
    - (void)hideWord
    {
        self.wordLabel.text = nil;
    
        self.wordIndex++;
        if (self.wordIndex < [self.words count])
        {
            [self performSelector:@selector(showWord)
                       withObject:nil
                       afterDelay:kWordHideInterval];
        }
        else
        {
            // all done, go ahead and invoke whatever you want to do when done presenting the words
        }
    }
    
    @end
    

    If you wanted to do some animation of the appearance or disappearance of the text (e.g. fade it in or out), you could combine this with an animateWithDuration or other animation construct.

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

Sidebar

Related Questions

best solution for use access in project for database with security i need to
I would like to know what is the best solution to create simple menu
I'm new to iOS development pondering how best to approach a fairly simple design
The best solution I could find (anywhere) to get results from an SQL Query
I am looking for the best solution of this task. I have simple class
I'm asking the best solution for a very 'simple' problem. Today, I have emails
I have a very simple problem, but I'm looking for the 'best' solution to
I cant find best solution for very simple problem(or not very) Have classical set
My problem is simple yet I couldn't find the best solution to it. I
What is the best solution for inserting boolean values on database if you 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.