- Create IBOutlet of your WKInterfaceLabel
- Create UIFont object
UIFont * labelFont = [UIFont fontWithName:@"Courier-Bold" size:8]; - Create NSAttributedString object
NSAttributedString *labelText = [[NSAttributedString alloc] initWithString : @"my Label string title" attributes : @{ NSKernAttributeName : @2.0, NSFontAttributeName : labelFont}]; - set attributedString to label
[self.label setAttributedText:labelText];
Tuesday, March 24, 2015
Change font and size in watchkit
Change font and size in watchkit
Subscribe to:
Posts (Atom)