3 回答
TA贡献1982条经验 获得超2个赞
EDgesfortendedLayout
UIViewControllerUINavigationController
UIViewController *viewController = [[UIViewController alloc] init];viewController.view.backgroundColor = [UIColor redColor]; UINavigationController *mainNavigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
edgesForExtendedLayoutUIRectEdgeAll
UIRectEdgeNone
UIViewController *viewController = [[UIViewController alloc] init];viewController.view.backgroundColor = [UIColor redColor]; viewController.edgesForExtendedLayout = UIRectEdgeNone;UINavigationController *mainNavigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
自动调整ScrollViewInset
UIScrollViewUITableViewedgesForExtendedLayout
扩展LayoutIncludeesOpaqueBars
edgesForExtendedLayoutUIRectEdgeAll).
IOS如何知道使用什么UIScrollView?
UIScrollView
UITableViewControllerUITableView
TA贡献1824条经验 获得超6个赞
- 3 回答
- 0 关注
- 499 浏览
添加回答
举报
