It’s easy to display a single label with entirely the same text but what happens when you want to display one word in bold?
Example:
All your bases are belong to us.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
UILabelitself cannot draw a label with different attributes/fonts within the text. But Core Text can. You can create a subclass ofUILabelthat wraps an attributed string and uses Core Text to draw it. You can handle the drawing as in this sample code from the Core Text programming guide: