solgar
solgar

Reputation: 4721

Transparency of UIScrollView on iPad

I have xib in which i have couple of views, but basically structure looks like this:

- view
   - Image View (fullscreen image)
   - some views...
   - Table View (style: Grouped)

In xib editor when editing Table View I can set background in its Table View and View sections. I set them to clear color. On iPhone this Table View background is indeed transparent and I can see my full screen image 'under' it but on iPad background of Table View is gray, no matter what and where I will set.

My question is how to achieve transparent background of Table View on iPad in presented case? iOS I'm working on is 5.1.

Upvotes: 0

Views: 480

Answers (1)

solgar
solgar

Reputation: 4721

Fix for my issue was as follows:

tableView.backgroundView = nil;

This made background transparent on iPhone and iPad.

Upvotes: 1

Related Questions