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

接听电话时操作app 切换界面时UINavigationBar 怪异 #16

Closed
IDOKN opened this issue Aug 5, 2016 · 11 comments
Closed

接听电话时操作app 切换界面时UINavigationBar 怪异 #16

IDOKN opened this issue Aug 5, 2016 · 11 comments

Comments

@IDOKN
Copy link

IDOKN commented Aug 5, 2016

Uploading QQ截图20160805155357.png…
接听电话时操作app 切换界面时UINavigationBar 怪异

@IDOKN
Copy link
Author

IDOKN commented Aug 5, 2016

qq 20160805155357

@IDOKN
Copy link
Author

IDOKN commented Aug 5, 2016

切换界面时会很怪异 不过 bar会先跳一下 然后就恢复正常了

@rickytan
Copy link
Owner

rickytan commented Aug 5, 2016

你是不是用了 [UIScreen mainScreen].bounds.size.height 了?布局都用相对,不要用写死的高,应该没问题的

@IDOKN
Copy link
Author

IDOKN commented Aug 8, 2016

都是 相对布局

@rickytan
Copy link
Owner

rickytan commented Aug 9, 2016

什么系统?

@IDOKN
Copy link
Author

IDOKN commented Aug 9, 2016

测试环境:iphone6 ios 9.3.2 型号MG492ZP/A
我在切换的时候 VC 的edgesForExtendedLayout 属性有变化 问题应该出在这里

@IDOKN
Copy link
Author

IDOKN commented Aug 16, 2016

我测试你下你的demo 也有这个问题跟edgesForExtendedLayout没有关系 而网易云音乐没有这个问题

@rickytan
Copy link
Owner

最近太忙了,感谢反馈!

@leewei716
Copy link

  • (void)willMoveToParentViewController:(UIViewController *)parent{

}

-(void)didMoveToParentViewController:(UIViewController *)parent{

}使用你的这个导航栏后,返回时,这个方法不走,

@leewei716
Copy link

如果有知道的朋友怎么处理,麻烦给我说一下谢谢,我的邮箱287809258@qq.com

@rickytan
Copy link
Owner

@leewei716 这个会走的,只是时机与原来不一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants