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