小编Dmi*_*riy的帖子

如何在NavigationBar下使用iOS UITableView?

我已经设定

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):

在此输入图像描述

iphone objective-c uitableview xamarin.ios ios

11
推荐指数
3
解决办法
2万
查看次数

标签 统计

ios ×1

iphone ×1

objective-c ×1

uitableview ×1

xamarin.ios ×1