ios on-exit fix

app events are removed when ios glview is destroyed.
this was an issue in iosNativeExample where the glview is created and destroyed multiple times.