views:

26

answers:

1

Hey guys. So I converted an iphone app to a universal app, and when I try to change the background colors, e.g., view.backgroundColor = [UIColor blackColor];, it would change while running on the iphone. However, the ipad will only show gray. Does anyone else get this? Same thing for interface builder.

Thanks,

A: 

You may need to set the backgroundView to nil as I believe the iPad has a default gray gradient view which will override the background color.

Greg Martin
Sorry for the late reply. You are correct, sir!