Created
December 29, 2010 16:54
-
-
Save jamesantrobus/758730 to your computer and use it in GitHub Desktop.
Failing background colour on UITableView (iPad only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UITableView tableView = new UITableView(UIScreen.MainScreen.Bounds, UITableViewStyle.Grouped); | |
| //this runs but the default grey colour remains | |
| tableView.BackgroundColor = UIColor.Clear; | |
| //this sets the background as needed | |
| UIView testView = new UIView(); | |
| testView.BackgroundColor = UIColor.Clear; | |
| tableView.BackgroundView = testView; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment