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