Guest User

Untitled

a guest
Jul 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. UITableView tableView = new UITableView(UIScreen.MainScreen.Bounds, UITableViewStyle.Grouped);
  2.  
  3. //this runs but the default grey colour remains
  4. tableView.BackgroundColor = UIColor.Clear;
  5.  
  6. //this sets the background as needed
  7. UIView testView = new UIView();
  8. testView.BackgroundColor = UIColor.Clear;
  9. tableView.BackgroundView = testView;
Add Comment
Please, Sign In to add comment