iOS Question Call Event when closing Video in WKWebview

ilan

Expert
Licensed User
Longtime User
hi

i am using this code to load a video in WKWebview:

it's working fine. my question is, when i load a video it starts in fullscreen in a video container with controls. this is awesome. the problem is if i close the video by clicking on X it close the video and the webview is blank and still visible.

can i get a call event when i close the video so i can hide the webview and go back to the main screen?

thanx, ilan
 
Top