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

presentPanModal: modal 一个导航控制器问题 #49

Closed
Kejiasir opened this issue Apr 17, 2020 · 7 comments
Closed

presentPanModal: modal 一个导航控制器问题 #49

Kejiasir opened this issue Apr 17, 2020 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Kejiasir
Copy link

你好,我通过presentPanModal:方法,modal 一个导航控制器,然后在viewWillAppear:的时候隐藏导航栏,拖拽关闭的时候不能 dismiss 整个控制器,并且设置 shortFormHeight 无效,一出来就直接到顶部了。

@HeathWang
Copy link
Owner

请优先阅读markdown和example里的示例。
或者贴出你具体的实现代码

@Kejiasir
Copy link
Author

😃解决了,谢谢回复

@Kejiasir
Copy link
Author

另外一个问题,请问顶部圆角cornerRadius可以动态修改吗,比如我想在 状态为PresentationStateLong的时候设置为 0,回到PresentationStateShort的时候再动态调整回 10,我还没看到有方法可以动态设置

@HeathWang
Copy link
Owner

HeathWang commented Apr 17, 2020

目前还不支持动态修改圆角。
我后续加上

@HeathWang HeathWang added enhancement New feature or request help wanted Extra attention is needed labels Apr 17, 2020
@Kejiasir
Copy link
Author

🤣好的,谢谢,刚刚想说试了hw_panModalSetNeedsLayoutUpdate的方法,没有效果,不会触发 layout update

@HeathWang
Copy link
Owner

HeathWang commented Apr 17, 2020 via email

@Kejiasir
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants