TableView in View, how do i make it transparent

ios, objective-c

Solution

Try this code:

self.view.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:0.35]; 

Problem

I have a table-view embedded in to a main view, its the only way i can use static tables. The main view has a fixed background color, which the embeded view does not inhreit, and it is not transparent, is there any way to do this? It seems stupid to declare the color twice for one view

Original source