Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Littleodie914

macrumors 68000
Original poster
Jun 9, 2004
1,813
8
Rochester, NY
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.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.