i’m newbie in Xcode programming 🙂
I want to create a karaoke software running in iPhone. This software will display a lyric of midi or mp3 files. But now I have a problem that I can’t change color of each word in the sentence of lyric
I search in Web and they tell me using OpenGL ES or change color of each pixel of word to do that
Can anybody help me to solve this problem? or suggest me how to do it?
i’m newbie in Xcode programming :) I want to create a karaoke software running
Share
Starting with iOS 6, you can use a
UILabelor aUITextFieldor aUITextViewto display an attributed string. In an attributed string, you can assign different colors to different parts of the string. For example:Apple had two sessions at WWDC 2012 about using attributed strings:
I suggest you watch the videos.