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

Video in WKWebView quitting detection in iOS 11

user587
1#
user587 Published in April 25, 2018, 12:33 pm

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.309569 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO