How to Higthlight word of UILabel in iphone
<p>I am loading Lyrics of song on UILabel With Timer. Now I want to highlight Each word of that label with different color. How can I do this ?</p>

<p>I am showing lyrics like this</p>

<pre><code>- (void)setCurrentAudioProgress:(NSTimeInterval)time duration:(NSTimeInterval)duration
{
    float progress = time/duration;
    long currentPlaybackTime = audioPlayer.currentTime;
    long remainingTime = (duration-time);

    int remainingHours = (remainingTime /3600);

    int remainingMinutes = ((remainingTime /60 -remainingHours*60));

    int remainingSeconds = (remainingTime %60);


    int currentHours = (currentPlaybackTime / 3600);

    int currentMinutes = ((currentPlaybackTime / 60) - currentHours*60);
    int currentSeconds = (currentPlaybackTime % 60);

    currentTimeLabel.text = [NSString stringWithFormat:@"%i:%02d:%02d", currentHours, currentMinutes, currentSeconds];

    remainingTimeLabel.text = [NSString stringWithFormat:@"%i.%02d.%02d", remainingHours    , remainingMinutes, remainingSeconds];

    [progressView setProgress:progress];

    for (int i = 0; i&lt;[lyricsArray count]; i++) {

        NSString  *lyricsTime = [[lyricsArray objectAtIndex:i]valueForKey:@"startTime" ] ;

        if ([currentTimeLabel.text isEqualToString:lyricsTime]) {

            songLyricsLabel.text = [NSString stringWithFormat:@"%@",[[lyricsArray objectAtIndex:i]valueForKey:@"songLyrics" ]];         
         }            
    }          
}
</code></pre>
