Screen capture - simulator feature

In order to make this work for iOS devices in the simulator on Windows, change the event listener to detect an accelerometer shake. iOS on the windows simulator does not support keyboard key events. To simulate a shake, press [CTRL]+I. Hope that helps.

local function onShake (event) if event.isShake then screenshot() end end Runtime:addEventListener("accelerometer", onShake)