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

Flipped View always on top #1

Open
bolshas opened this issue Oct 26, 2011 · 1 comment
Open

Flipped View always on top #1

bolshas opened this issue Oct 26, 2011 · 1 comment

Comments

@bolshas
Copy link

bolshas commented Oct 26, 2011

Hi, when your code is run, the flipped view is always displayed on top of all other views. Is there a way to keep it in its supposed position or 'z' order?

@sgabello
Copy link
Owner

Hi Bolshas,
I guess you've already found a better solution to the problem...

BTW, that is the intended behaviour of this class method. You can probably tweak it by removing this two lines from the code:

firstView.layer.zPosition = firstView.layer.bounds.size.width / 2;
secondView.layer.zPosition = secondView.layer.bounds.size.width / 2;

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

2 participants