我已经设定
NavigationController.NavigationBar.Translucent = true;
Run Code Online (Sandbox Code Playgroud)
然后添加表并将框架设置为RootView框架,并:
public override void ViewDidLayoutSubviews()
{
base.ViewDidLayoutSubviews();
float y = this.TopLayoutGuide.Length;
table.ContentInset = new UIEdgeInsets (y, 0, 0, 0);
}
Run Code Online (Sandbox Code Playgroud)
但是,我在NavigationBar下有桌面滚动条(我使用monotouch):
