UIWindowDidBecomeVisibleNotification and UIWindowDidBecomeHiddenNotification seem far more reliable at detecting fullscreen video. Tested on iOS 11, 12 and 13
|
|
||
92 |
|
92 |
|
93 |
|
93 |
|
94 |
|
94 |
|
95 |
|
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
96 |
|
104 |
|
97 |
|
105 |
|
98 |
|
106 |
|
|
|
||
275 |
|
283 |
|
276 |
|
284 |
|
277 |
|
285 |
|
278 |
|
|
|
|
286 |
|
|
279 |
|
287 |
|
280 |
|
288 |
|
281 |
|
|
|
282 |
|
289 |
|
283 |
|
290 |
|
284 |
|
291 |
|
285 |
|
292 |
|
286 |
|
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
287 |
|
299 |
|
288 |
|
300 |
|
289 |
|
301 |
|
290 |
|
302 |
|
291 |
|
303 |
|
292 |
|
|
|
293 |
|
304 |
|
294 |
|
305 |
|
295 |
|
306 |
|