[Test App] How to remove top space of UINavigationController #253
-
|
I want to display fullscreen ebook page, with the top toolbar could be overlap page content. How to remove the top space, thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
mickael-menu
Nov 15, 2022
Replies: 1 comment 1 reply
-
|
You can empty out the var config = EPUBNavigatorViewController.Configuration(contentInset: [:])
let navigator = EPUBNavigatorViewController(..., config: config)For reference, the default values are: contentInset: [UIUserInterfaceSizeClass: EPUBContentInsets] = [
.compact: (top: 20, bottom: 20),
.regular: (top: 44, bottom: 44)
] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
winterdl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


You can empty out the
contentInsetof theEPUBNavigatorController.Configuration:For reference, the default values are: