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

iOS 7 Animation #2

Open
rnystrom opened this issue Jun 14, 2013 · 4 comments
Open

iOS 7 Animation #2

rnystrom opened this issue Jun 14, 2013 · 4 comments
Labels

Comments

@rnystrom
Copy link
Owner

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.

@so898
Copy link

so898 commented Jul 29, 2013

Sometimes, when there are multiple threads running in background, all of the core animations will get 0fps when it playing.
If someone tells you your project is showing no animation, just tell them go back to iOS6 or stop using multiple threads functions.

@rnystrom
Copy link
Owner Author

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).

@myell0w
Copy link
Contributor

myell0w commented Aug 25, 2013

I can confirm that, the problem is still there on Beta 6.

@myell0w
Copy link
Contributor

myell0w commented Aug 26, 2013

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.

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

No branches or pull requests

3 participants