AccelerometerGraph Sample Question

Discussion in 'iOS Programming' started by dgdosen, Jul 21, 2008.

  1. macrumors 65816

    dgdosen

    Joined:
    Dec 13, 2003
    Location:
    Seattle
    #1
    Anybody load this sample?

    I have a newb question - how and when do they set the background image for that main window to the background/scale image of the graph?

    I can't see it in code, the nib file, nor any plist setting...

    Thanks in advance for anyone who knows the answer.
     
  2. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    Look for the drawRect method. The example actually draws the graph background, graphics and caption text, element by element.
     

Share This Page