我有一个带有导航栏的 viewController 。我想增加导航栏的高度,但我不能。我已经搜索过增加导航栏的高度,但没有取得任何成功。
是否有任何增加导航栏或任何其他库/替代方案的高度?
不允许直接更改
... It is not permissible to change the navigation bar object or modify its bounds, frame, or alpha values directly...
by 开发者.apple.com https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/ViewControllerCatalog/Chapters/NavigationControllers.html
但这里有相同的问题和答案:
- 更改导航栏的高度 iOS Swift https://stackoverflow.com/questions/32142375/changing-the-height-of-the-navigation-bar-ios-swift
- 更改 UINavigationBar 高度 https://stackoverflow.com/questions/894985/change-uinavigationbar-height
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)