Skip to content

Conversation

@howelse
Copy link

@howelse howelse commented Dec 5, 2017

Fixes #303 by adjusting safe area insets during animations

@wdcurry
Copy link

wdcurry commented Dec 5, 2017

i tested the raw code at my end and it works perfectly, thank you.

@isanth
Copy link

isanth commented Feb 27, 2018

if its fine merge it, please. don't hesitate.

self.contentViewContainer.transform = CGAffineTransformTranslate(self.contentViewContainer.transform, point.x, 0);
[self updateContentViewAdditionalSafeAreaInsets];
} else {
self.contentViewContainer.transform = CGAffineTransformMakeScale(contentViewScale, contentViewScale);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have found that scaling layer.transform instead of view.transform does not cause this bug

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Thanks

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

Successfully merging this pull request may close these issues.

6 participants