ios17.5+,setTimeout is not running

17.5+, when the wkwebview is not visible, the setTimeout function fails to execute when it reaches time.how to fix?

ios17.5+,setTimeout is not running
 
 
Q