PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

iPhone and auto-lock / standby

Hi Edge Team,

Is there a way to handle the auto-lock and standby events on iPhone? Currently the game seem to run without going suspended in these cases:

1. Push the on-off button once (standby mode)
-> the screen goes dark, but the game still runs (no suspend state)

2. OR, set the auto-lock in the iPhone settings to i.e. 1 minute.
-> The auto-lock won't occur while the game is running (screen remains lit, game won't go suspended)


These issues were tested with Edge 3.96.


Thanks in advance!
Hi Laszlo,

This issue is currently fixed and will be available in the upcoming EDGELIB release.
Great news!

Unfortunately I have a GM deadline to meet tomorrow for our publisher - and only this bug remained unfixed.

Can you please provide us a quick hotfix either as an unofficial release of the library or a hotfix hack code snippet? (I.e. how to reach the iPhone's native UIApplicationDelegate's applicationWillResignActive and applicationDidBecomeActive eventhandlers from Edge c++ code?)


I understand that it is absolutely not the official way to handle things - but only this bug prevents us reaching GoldMaster status with our publisher...

Thanks in advance!
Hotfix mailed to Csaba.