views:

462

answers:

1

Hi,

I've been trying to create a transparent table view recently but I'm not having much luck. The idea is to have a MapView (or anything for an example...) underneath the table view (grouped) where the table cells are solid but the rest of the table view is transparent, showing the map behind.

What I've done so far is create a UITableView and set the background colour to clearColor, however this isn't working too well! Can anyone help?

Thanks

+1  A: 

If you put in multiple views in IB you need to make sure you are able to access them by making each one an IBOutlet and hooking them up to the File's Owner. Then in the ViewDidLoad method for the corresponding view controller, set which views are in the back and which one is in the front by using[self sendSubviewToBack:backgroundView] and [self bringSubviewToFront:foregroundView]. You cannot set in what order the multiple views are displayed in the Interface Builder.

NP Compete