-
Notifications
You must be signed in to change notification settings - Fork 192
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
iOS 7 Animation #2
Comments
Sometimes, when there are multiple threads running in background, all of the core animations will get 0fps when it playing. |
That is not very helpful. I discovered the issue back in beta 1. Might be an issue with release, might not. There aren't any background threads running during the animation (this issue occurs on the provided demo project). |
I can confirm that, the problem is still there on Beta 6. |
The bug is only slightly related to iOS7, so I think I can safely discuss it here. The problem arises in the viewWillLayoutSubviews method being called during the animation and re-setting the frame of the menuView. A simple fix is to guard the assignment of the menuView frame with an if (CGAffineTransformIsIdentity(self.menuView.transform)). Actually you might need to check for the layer transform, but I changed the Core Animation code to a simple UIView animation in my fork so I check for the views transform. |
I'm not going to go into details because of the NDA (and if this breaks the NDA let me know immediately), but dismissing the view on iOS 7 does not invoke the scale animation. This might be a bug to report, or it might not.
If you find the solution please do not post the details here. I'd prefer either an email or a pull request so we can avoid any NDA issues.
The text was updated successfully, but these errors were encountered: