I have one label which have a Dynamic string data e.g: \"I am Mohit\" .I want to make only \"am\" in bold.Is it Possible in iphone? if yes please give me suggestion.Thanks in ad
you can use textView instead of label to fulfill your requirement.
ex:-
[textview setContentToHTMLString:@""];
done something like this using three20's TTStyledTextLabel :) it works perfectly
Not with UILabel
. Suggest 2 labels, or subclass. Many related answers, including this.
No you can't have text with different styles in standard UILabel. You need to use NSAttributedString and some custom solution to display them. Check this
No you can't have text with different styles in standard UILabel. What you'll probably need to use is NSAttributedString
and some custom solution to display them. Check this question for some possible options.