resume event for Ios not fired in titanium?

331 Views Asked by At

I am trying to call the resue event it was working in android but not working in Ios. I tried "resume" for Android and "resumed" for Ios. It's not working.

1

There are 1 best solutions below

1
Michael On

You can add an "App-wide event listener". As per the documentation you have resume and resumed

https://docs.appcelerator.com/platform/latest/#!/api/Titanium.App-event-resumed

Ti.App.addEventListener("resume", function () {

});