ios - "Add to Home Screen", save state without app cache? -
i have web site i'd users able add home screen. users switch between saved "web app" , game frequently.
the first problem when user comes saved "web app", displays splash screen every time though wasn't closed. undesirable. further, when users clicks on primary navigation element, switches user on safari.
how app "save state" , not re-load app when coming (when hasn't been closed)? how load links clicked within same domain load within saved "app" rather loading them in safari?
safari doesn't reload page when switch away app , come back, why web site saved home screen have reload when pulled front?
i don't want use offline database, don't need app work while offline because needs tie live database that's changing. therefore working offline isn't intuitive because data outdated , irrelevant. therefore, don't need cacheing either (except maybe few resources don't change often). want darn thing "save state" , not reload every time user comes it. , links clicked within it, shouldn't take user out of unless links different domain.
i've searched , read , searched , read, i'm not finding other articles making web app work offline. that's not goal. goal make behave safari in if it's not explicitly closed, keeps it's state.
Comments
Post a Comment