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

How to handle rotation #3

Open
msetten opened this issue Aug 21, 2016 · 1 comment
Open

How to handle rotation #3

msetten opened this issue Aug 21, 2016 · 1 comment

Comments

@msetten
Copy link

msetten commented Aug 21, 2016

I am wondering how to best handle device rotation with the Panoramic View.
At the moment, I am able to adjust the frames of the scrollView and imageView after a rotation and also adjusted the gyro methods so that the x-axis is used when the device is used in landscape and y-axis when in portrait.

What I do have problems with however, is the PanaromicIndicator? Is there a good way to have that moved and resized when the device is rotated?

@msetten
Copy link
Author

msetten commented Aug 22, 2016

want my app to be able to show/hide the indicator based on a tap on the image (as a toggle). If I have the scroll indicator enabled in the view and then disable it, it hides, but then enabling it again, the app crashes.

As this is likely related to the rotation issue, I am adding it in this issue thread.

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

1 participant