PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WM 21 IOS app sent to background
WM 21 IOS app sent to background
Iniciado por guest, 14,oct. 2016 05:38 - No hay respuesta
Publicado el 14,octubre 2016 - 05:38
Hello All,


I am working on my first project for Iphone / Ipad. I am connecting to HFSQL to read data only no writes. I use queries to fetch the data. The problem I have is when the app loses focus goes in the background and sits for a while when it is brought back to focus and the connection has been lost I can not seem to get it to connect again it crash the app.

What I am looking for is a way to set a timer that after 5 minutes disconnect from the connection then when it is brought up to the foreground reconnect.

Has anyone done this?

DW