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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:50:38+00:00 2026-05-18T21:50:38+00:00

I am now implementing an ebook in which I have to highlight each word

  • 0

I am now implementing an ebook in which I have to highlight each word when the audio of the text plays. The highlighted color will fade off after 2 sec. How can we add a background color for the text. I am not using UILabel since there are lengthy text with many sentences.
How can we do this? Anyone please help! Thanks!

  • 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-05-18T21:50:39+00:00Added an answer on May 18, 2026 at 9:50 pm
                I think u should use UIWebView rather than UITextView,  and dynamically u can 
        highlight the text by adding html tags and style tag around a particular string. But
     for that u need to track which string or text audio is playing. Both of these operations
     should be performed simultaneously,i.e., Audio Playing and attaching tags aroynd the tags. 
    
    Now if u want to fade off the color of the text after two seconds , simply call function
    after delay of two seconds, in which u can change the text color back to earlier on.
     To call function after delay u should go for
    
    [self performSelector:@selector(changeTooriginalColor) withObject:nil afterDelay:2]; 
    

    Your Second Question’s anawer:

    UIWebView *wizardSpeechWebView = [[UIWebView alloc] initWithFrame:CGRectMake(0,100,320,265)];
    wizardSpeechWebView.backgroundColor = [UIColor clearColor];
    wizardSpeechWebView.opaque = NO; 
    wizardSpeechWebView.delegate = self;
    [self.view addSubview:wizardSpeechWebView];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application on which I am implementing localization. I now need to
I have written an API Bundle and some implementing services. Now i want to
Now I'm sure this is super easy, I have a function called remove_deposit which
I have been stuck for a day now on implementing openssl(on windows) md5. Such
I am custom drawing a text box and now I am implementing the part
I have a moderate understanding of the innards of RequestFactory, but now I'm implementing
I am implementing a rest API and now I have to execute following request
I'm implementing now CPU schedule algorithms FCFS, SJF and Round Robin. Could somebody tell
Hey I am implementing the drag and drop operations using Kineticjs Now I want
Now this isn't a question as to which of the technologies is better, since

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.