【发布时间】:2014-01-23 15:27:29
【问题描述】:
我已经设置了
NavigationController.NavigationBar.Translucent = true;
然后添加表格并将框架设置为RootView Frame,然后:
public override void ViewDidLayoutSubviews()
{
base.ViewDidLayoutSubviews();
float y = this.TopLayoutGuide.Length;
table.ContentInset = new UIEdgeInsets (y, 0, 0, 0);
}
但是,我在 NavigationBar 下有表格滚动条(我使用单点触控):
【问题讨论】:
-
很遗憾,我在 Monotouch 中找不到它。并且已经 ExtendedLayoutIncludesOpaqueBars = YES, EdgesForExtendedLayout = ALL
标签: ios iphone objective-c uitableview xamarin.ios