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
Post a Comment