Search code examples
uitableviewxamarin.iosuitabbaroverlapping

MonoTouch: UITabBar overlaps UITableView


If I have UITabBar and UITableView, then UITabBar object will overlap over UITableView.

How can I solve this in MonoTouch?

This is the same problem as in thi article: Partially hidded by UITabBar


Solution

  • I found the solution. By default MonoTouch extends controller from UIViewController. If this is changed to UITableViewController, then overlapping will be solved.

    In doing this, make sure you assign Owner's view outlet in IB to the table inside of UITableViewController.