ios - Clearing after-image from Airplay device, using UIWebView -


i send secondary ui airplay - on ios 5.1.

on ipad, user may use uiwebview play video, , if have airplay setup, video sent airplay device. when video finishes playing or if user pauses, uiwebview not clear out image airplay screen.

if load different url uiwebview, airplay image clear out, after few seconds.

i've tried work-around loading blank page, , reloading original video page, not seem work. thoughts?

in effort clear other types of content uiwebview, happened discover following statement disconnect airplay video connection immediately, , thereby revealing underlying secondary ui sent via uiscreen.

[mywebview stringbyevaluatingjavascriptfromstring:@"document.body.innerhtml = \"\";"]; 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -