Draw text centered in Custom view

Discussion in 'Mac Programming' started by gonche1124, Jun 3, 2010.

  1. gonche1124 macrumors newbie

    Joined:
    Aug 6, 2009
    #1
    I have a custom view and I'm trying to draw some text centered, but when the text is too long, it truncates inserting an ellipsis character. I need the text to automatically break the line if the text doesn't fit in my custom view, so I will never miss any text.

    any ideas on how to do this?

    thanks

    Andres
     
  2. jared_kipe macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #2
    How are you drawing the text? Core Graphics/Quartz?
     
  3. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #3

Share This Page