-
Notifications
You must be signed in to change notification settings - Fork 52
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
Orientation support #45
base: master
Are you sure you want to change the base?
Conversation
Very nice @bill350. What if you add a
Let me know what you think, and after that I will try to also test it in order we merge this. |
Thank you @ziogaschr |
Can you @bill350 add the default implementation before I can test this? Thanks |
@ziogaschr Done ;) |
Thanks @bill350, will try to check it as soon as possible. |
Hey @ziogaschr, can we merge it ? |
Hi @bill350, sorry for taking me so long to test it. The code is good! 👍 Although, I think that we have to do something with the UI too, as it doesn't fit nicely on the screen. Are you able to pickup this? Thanks, Chris. |
In a personal project I have created buttons inside a scrollView, and it's working fine. So we juste have to update the demo project ;-) |
I did this because of iPhone 4 & 5 screen limitation. I you agree to switch to a scrollView for the demo ? |
@bill350 scrollView sounds as a possible alternative, but I don't think it's optimal as the current elements can fit in screen without a scrollView. Also the above screenshot is from an iPhone6s and the UI is not fitting there too. With that said, I am just a contributor like you, and I am not the only one to decide about it. So I am happy that you suggested this idea and that you are helping. 👍 Let's see what others believe too. :) |
Hey @ziogaschr |
Hey @bill350, I really have no clue for what's best about the landscape UI. @velikanov or any other member any ideas? If we don't find any ideas, I will try to test this better and merge it, later on, someone else might contribute with a better UI. |
This PR allows to specify if the lock screen can autorotate and which mask is allowed on it.
The use case: we want to lock the PasscodeLock screen in portrait and our app is rotating. The lock screen appear on a displayed landscape screen (the app is full portrait except one screen) and we want the lock screen on portrait.
This PR also fix the demo project with the TouchIDReason property which is missing in the
PasscodeLockConfiguration
with thePasscodeLockConfigurationType
protocol.