infinitered / rmq

RMQ - RubyMotionQuery
MIT License
307 stars 52 forks source link

Fix simulator detection for iOS9. fixes #293 #296

Closed HealsCodes closed 9 years ago

HealsCodes commented 9 years ago

Starting with iOS9 the simulator no longer announces itself as 'iPhone Simulator' so checking the model name won't work anymore.

GantMan commented 9 years ago

great find!

squidpunch commented 9 years ago

nice, is it backwards compatible too?

HealsCodes commented 9 years ago

@squidpunch - as far as I can tell yes. iOS has always stored the apps inside /var/mobile/... on device and somewhere else in the simulator.

squidpunch commented 9 years ago

:+1: perfect

GantMan commented 9 years ago

I'm on iOS8 and it worked.