0

Lets say I want to make only the text "Software" bold. Is there a way to achieve this without a custom alertview?

enter image description here

Esqarrouth
  • 38,543
  • 21
  • 161
  • 168

1 Answers1

0
self.subHeadingLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleSubheadline];

Check out dynamic text in ios7 . it has six different font styles. There is a good article here

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
  • apple docs https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/CustomTextProcessing/CustomTextProcessing.html#//apple_ref/doc/uid/TP40009542-CH4-SW65 – Rachel Gallen Jul 07 '14 at 17:10
  • How does that make _just the word "Software"_ bold, as the OP asked? – matt Jul 07 '14 at 17:19
  • @matt he can set Software to be a subheading label. read the apple docs – Rachel Gallen Jul 07 '14 at 17:27