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 can I test/run iOS device-specific code on a Simulator? #79

Open
dtrenz opened this issue Oct 4, 2017 · 1 comment · May be fixed by #84
Open

How can I test/run iOS device-specific code on a Simulator? #79

dtrenz opened this issue Oct 4, 2017 · 1 comment · May be fixed by #84

Comments

@dtrenz
Copy link

dtrenz commented Oct 4, 2017

Hi there. Great project!

I have a question: How can I test or run iOS device specific code on a Simulator, if SDiOSVersion.deviceVersion() returns "Simulator" instead of "iPhone 7"?

@glennposadas
Copy link

My usual solution for this is to not use a library when debuggin on simulators and just catch the height of the the screenbounds of the simulator.

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

Successfully merging a pull request may close this issue.

2 participants