1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Can you set the font color for NSString (UIStringDrawing)

Discussion in 'iPhone/iPad Programming' started by fenrus110, Dec 12, 2008.

  1. macrumors regular

    #1
    Is there anyway to set the text color of this? I can't seem to find a property and UIFont doesn't seem to handle color.

    I kind regret making my table cell like how they did in TableViewSuite4. The way they made the cells in EditableDetailView sample is so much more elegant and powerful.
     
  2. macrumors 65816

    #2
    [label setTextColor:[UIColor redColor]];
     
  3. macrumors regular

    #3
    an NSString drawing isn't a UILabel though...
     
  4. macrumors 68030

    PhoneyDeveloper

    #4
    Code:
    CGContextSetRGBFillColor()
     

Share This Page