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

Not working on iPad simulator ? #66

Closed
dtomicAZ opened this issue Jun 16, 2017 · 1 comment
Closed

Not working on iPad simulator ? #66

dtomicAZ opened this issue Jun 16, 2017 · 1 comment

Comments

@dtomicAZ
Copy link

It's look like this lib is not working on iOS iPad simulator:

I executed this code on iPad Pro (10.5-inch) simulator 10.3.1:
if GBDeviceInfo.deviceInfo().family == .familyiPad {
print("IPAD")
}
and it's prints nothing.

I don't know if this is working on really device because currently I don't have one.

@lmirosevic
Copy link
Owner

A simulator is a simulator, not a real device. Actually there is no way to know inside the simulator which device is being simulated, so we don't really have many other options here than to call all simulators "a 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

No branches or pull requests

2 participants