New iPhone SDK Replacement for [UIColor groupTableViewColor]

Discussion in 'Mac Programming' started by Littleodie914, Mar 28, 2008.

  1. macrumors 68000

    Littleodie914

    Joined:
    Jun 9, 2004
    Location:
    Rochester, NY
    #1
    Hey guys, in lieu of the new iPhone SDK, it seems many things are confusing, conflicting, etc. I've posted this particular issue in the news thread concerning the SDK release, but I thought it warranted its own thread.

    So, in the old SDK, I could use the code:

    Code:
    [view setBackgroundColor:[UIColor groupTableViewColor]];
    And it would set the background of the view to that cool blue and white striped background that you see in the "Settings" application. In the new SDK update though, the UIColor method "groupTableViewColor" was eliminated. (Contradictory to the Beta 1 to Beta 2 API Delta.)

    So my question is, does anyone know of a way to replicate the above code, but in the new SDK? Thanks fellow MR programmers! :D

    Edit: Solved. They apparently changed the method name to "groupTableViewBackgroundColor", but this method does *NOT* exist in the new UIColor.h header file. It exists in the API Delta. (But not under UIColor, under UIInterface.)
     
  2. macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #2
  3. thread starter macrumors 68000

    Littleodie914

    Joined:
    Jun 9, 2004
    Location:
    Rochester, NY
    #3

Share This Page