-
Notifications
You must be signed in to change notification settings - Fork 491
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
device orientation will change after starting instructions twice (landscape mode apps) #235
Comments
Hi @clueth, thanks for reporting the issue. That's weird, I'll have a look. |
I have trouble reproducing the issue. With the example project, starting the flow twice in landscape works fine. Would you be able to provide a sample project demonstrating the problem? |
Hi @ephread, |
Hi @clueth , have you fix your problem? How? |
Hi Sylvain, |
Hi @clueth func displayTutorial() { if coachMarksController == nil { let coachMarksContr = CoachMarksController() coachMarksController = coachMarksContr coachMarksContr.dataSource = self coachMarksContr.delegate = self coachMarksContr.interfaceOrientations = .userDefined(as: .all) } coachMarksController?.start(in: .window(over: self)) } But the |
Hi @clueth, I'm encountering the same problem on iPad running on Landscape, |
Describe the bug
I have an app which runs only in landscape mode (iPhone & iPad). When the user starts the instructions by tapping a button everything works fine. But if he skips the tutorial and starts it the second time, the orientation of the instructions change to portrait mode which will crash the cutout paths and the orientation of the coamarks.
To Reproduce
Start instructions twice in landscape mode
Expected behavior
The orientation should always be the same as the selected one of the device
Screenshots
Environment:
all iPhones & iPads
iOS 11 - 13 (I could not test older versions, but I think the bug exists on each operating system)
1.4.0
CocoaPods
Additional context
The text was updated successfully, but these errors were encountered: