Report question

Question: How to detect in iOS webapp when switching back to Safari from background?