Home Video in WKWebView quitting detection in iOS 11
Reply: 0

Video in WKWebView quitting detection in iOS 11

Nicolas Pot
1#
Nicolas Pot Published in 2017-12-07 21:59:15Z

Hi I want to be able to detect when the user of my app quit a video playing in a wkwebview. I used to use UIWindowDidBecomeHidden notification as below, but it seems not to be working anymore with iOS 11. Any idea? Thanks

[[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(VideoQuits:)
                                                 name:UIWindowDidBecomeHiddenNotification
                                               object:self.view.window];
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313019 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO