Hello
I have just seen that the UIColor groupTableViewBackgroundColor has been deprecated in iOS6. This was used so that a view could have the same background as a group-styled table view.
On searching the internet I came across a proposed solution on stackoverflow (http://stackoverflow.com/questions/12452810/is-grouptableviewbackgroundcolor-deprecated-on-ios-6), which is to put an empty table view onto a view and place all the other sub views on top of it, and then set the style to Grouped.
Then, when this view is loaded, because the table view is empty, you get the grey lined background but without any table view cells in it.
I have done this, and it works, but the table view that you drag out of the object library in Xcode is full of preset example table view cells. It makes viewing the real content of the view pretty awful (see screenshot).
Is there any way to blank the table view so that it is empty and therefore completely transparent so that I can work in interface builder without all the preset stuff spoiling the canvas?
Thank you.
I have just seen that the UIColor groupTableViewBackgroundColor has been deprecated in iOS6. This was used so that a view could have the same background as a group-styled table view.
On searching the internet I came across a proposed solution on stackoverflow (http://stackoverflow.com/questions/12452810/is-grouptableviewbackgroundcolor-deprecated-on-ios-6), which is to put an empty table view onto a view and place all the other sub views on top of it, and then set the style to Grouped.
Then, when this view is loaded, because the table view is empty, you get the grey lined background but without any table view cells in it.
I have done this, and it works, but the table view that you drag out of the object library in Xcode is full of preset example table view cells. It makes viewing the real content of the view pretty awful (see screenshot).
Is there any way to blank the table view so that it is empty and therefore completely transparent so that I can work in interface builder without all the preset stuff spoiling the canvas?
Thank you.
Attachments
Last edited: