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

Sizes Configuration Panel hides for good, meaning the project has to be rerun to test fully on all device sizes #27

Closed
wolfej1994 opened this issue Nov 2, 2018 · 2 comments
Labels
question Further information is requested

Comments

@wolfej1994
Copy link

Once dismissed there should be a way to get the configuration panel back onto the screen, potentially using the same swiping gesture that was used to dismiss it.

What actually happens is that there is no way to get the panel back onto the screen, which means I have to run the that app multiple times to test thoroughly on different devices.

If there is a way to solve this I cannot find anything in the documentation of the existing/closed issues.

  1. Setup sizes in your project the way that the documentation states (using a SizesWindow)
  2. Hide the configuration panel by swiping down on it
  3. Attempt to swipe it back up or show it again in any way you can imagine.
  • Version: 0.4.3
  • Platform: iOS Simulator
  • iOS: 12.1
@b-onc
Copy link
Collaborator

b-onc commented Nov 2, 2018

You should be able to display the configuration by shaking the device (or whatever option you've used to get the configuration window) (simulator shaking gesture: Shift+Cmd+Z) whenever you want.

@marcosgriselli
Copy link
Owner

As @b-onc said. Shaking is the only way to show the configuration panel with an action. Otherwise, you'll have to set the shakeGestureEnabled from SizesWindow to false and trigger the presentation manually with:

if let sizesWindow = UIApplication.shared.windows.first(where: { $0 is SizesWindow }) {
    sizesWindow.presentConfiguration()
}

@marcosgriselli marcosgriselli added the question Further information is requested label Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants