Родительская страница не получает событие изменения видимости при открытии контроллера представления Safari ⇐ IOS
Родительская страница не получает событие изменения видимости при открытии контроллера представления Safari
I have a Java script page opened in my App in a webview. I have registered visibility change event on this page. When I call safari view controller from it, then the page doesn't get visibility change event at all and neither it gets that when safari view controller is closed.
My main aim is to know in the page when safari view controller is closed by user so that I can trigger some functionality by calling a URL. How can I achieve this, it seems visibility change event doesn't work. Any other solution are welcomed.
NOTE : Visibility change event work in case of Android when we call Chrome custom tab from that page.
Источник: https://stackoverflow.com/questions/781 ... oller-is-o
I have a Java script page opened in my App in a webview. I have registered visibility change event on this page. When I call safari view controller from it, then the page doesn't get visibility change event at all and neither it gets that when safari view controller is closed.
My main aim is to know in the page when safari view controller is closed by user so that I can trigger some functionality by calling a URL. How can I achieve this, it seems visibility change event doesn't work. Any other solution are welcomed.
NOTE : Visibility change event work in case of Android when we call Chrome custom tab from that page.
Источник: https://stackoverflow.com/questions/781 ... oller-is-o
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение