Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以支持导航栏高度设置吗? #8

Closed
AlanFeiyang opened this issue Dec 29, 2021 · 1 comment
Closed

可以支持导航栏高度设置吗? #8

AlanFeiyang opened this issue Dec 29, 2021 · 1 comment
Labels
question Further information is requested

Comments

@AlanFeiyang
Copy link

ℹ 如果不通用请说明一定要添加的理由

  1. 默认系统NavigationBar高度。
  2. 支持动态设置导航栏高度。
@l1Dan
Copy link
Owner

l1Dan commented Dec 29, 2021

目前没有一键修改导航栏高度的 API。设计逻辑就是跟随系统导航栏的变化(包括frame、hidden,position),加入类似一键修改导航栏高度的 API 复杂度会提升,但是你可以参考下示例代码的自定义导航栏部分,应该可以满足你的需求😁

@l1Dan l1Dan pinned this issue Dec 29, 2021
@l1Dan l1Dan closed this as completed Jan 3, 2022
@l1Dan l1Dan added the question Further information is requested label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants