Re:Show HN: Run dedicated iOS Simulators in the browser
by weiyin on Tuesday October 21, 2014 @01:10PM
(#8488375)
We wrote some custom OS X code to capture frames from individual processes. That way the simulators don't need to be positioned in any way or even visible. Cheers.
[ Parent
| on HN ]
Re:Show HN: Run dedicated iOS Simulators in the browser
by weiyin on Tuesday October 21, 2014 @01:51PM
(#8488667)
(don't see a link to reply under your last comment)
yea, so the incoming keystrokes and mouse movements are managed through some custom OS X code as well.
the specific method we're using is CGEventPostToPSN, more information here: https://developer.apple.com/library/mac/documentation/Carbon...
Re:Show HN: Run dedicated iOS Simulators in the browser
by B-n-c on Tuesday October 21, 2014 @01:45PM
(#8488608)
The other piece of magic you are doing is sending in the keystrokes / mouse movements. If you're running multiple iOS simulators on a Mac, how are the key presses / mouse movements not interfering with other users?