3 回答
TA贡献1859条经验 获得超6个赞
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贡献2039条经验 获得超8个赞
- 3 回答
- 0 关注
- 660 浏览
添加回答
举报
