在 iOS 中捕获重新打开 window 是什么事件?

What it's the event to catch reopen window in iOS?

当用户在 Android 中返回 windows 时,我需要将数据刷新到控制器 我使用的是 activity.onResume 但在 iOS 中我不知道如何是最好的实现此功能的实践。

您可以为 window 使用 "focus" 事件。类似于:

win.addEventListener('focus',function(){
  //do something on focus
});