I got settings view in my iOS app which presented by UITableView
. This app is universal, so you can run it on iPhone and on iPad. This table should be with custom background. And use this code for setting image for background:
table.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"settings_bg"]];
This is OK for iPhone:
But on iPad this background is grey!
Why? How should i set custom background for iPad? Thnx.