AMWaveTransition icon indicating copy to clipboard operation
AMWaveTransition copied to clipboard

Top layout guide not honored.

Open markst opened this issue 11 years ago • 8 comments

http://stackoverflow.com/questions/20312765/navigation-controller-top-layout-guide-not-honored-with-custom-transition

markst avatar Aug 01 '14 22:08 markst

Can you elaborate?

andreamazz avatar Aug 11 '14 10:08 andreamazz

Hey @andreamazz sorry not to reply sooner. The issue happening was my vc view would layout with the topLayoutGuide being zero & then once the navigation transition has completed - the guide would equal 64, resulting in my layout jumping all of a sudden.

I've not actually experienced this issue lately, so perhaps it has been resolved.

markst avatar May 13 '15 02:05 markst

Glad to hear that :+1:

andreamazz avatar May 13 '15 09:05 andreamazz

@andreamazz this still seems to be an issue. The toVC.topLayoutGuide.length == 20.0 during the animation, then equals 0.0 once completeTransition:YES is called.

markst avatar Nov 24 '15 07:11 markst

http://d.pr/v/170WJ

markst avatar Nov 24 '15 07:11 markst

I see. I'll try to reproduce the issue and get back to you.

andreamazz avatar Nov 24 '15 08:11 andreamazz

@andreamazz seems to make a difference if the navigation bar is not translucent.

markst avatar Nov 25 '15 06:11 markst

@andreamazz this is still an issue. In my case I show and hide the navigationBar during viewWillAppear() which might be causing this. Also doesnt happen when you hit the back button, only forward. And only happens to views dependent on topLayoutGuide

Edit: fixed it by commenting out [toVC.view setTransform:CGAffineTransformIdentity];

acegreen avatar Sep 11 '17 12:09 acegreen