3 回答

TA貢獻1982條經(jīng)驗 獲得超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];
自動調(diào)整ScrollViewInset
UIScrollView
UITableView
edgesForExtendedLayout
擴展LayoutIncludeesOpaqueBars
edgesForExtendedLayout
UIRectEdgeAll
).
IOS如何知道使用什么UIScrollView?
UIScrollView
UITableViewController
UITableView

TA貢獻1824條經(jīng)驗 獲得超6個贊
- 3 回答
- 0 關注
- 479 瀏覽
添加回答
舉報