Note that there are some explanatory texts on larger screens.

plurals
  1. POUIWebview App Crash After HTML Video Plays
    primarykey
    data
    text
    <p>I have a crash that occurs after a HTML-5 video finishes playing from a UIWebview. The UIWebview loads a page which contains a brightcove embedded video player. The video launches fine and the video plays. However if you watch the video in Landscape and then press done, when are taken back to the UIWebview and interact with that (eg start scrolling) the app crashes with:</p> <pre><code>0 libobjc.A.dylib objc_msgSend + 15 1 UIKit -[UIWindow warpPoint:] + 710 2 UIKit _UIApplicationHandleEvent + 3382 3 GraphicsServices _PurpleEventCallback + 590 4 GraphicsServices PurpleEventCallback + 34 5 ... CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34 11 UIKit UIApplicationMain + 1120 </code></pre> <p>NSZombies reports:</p> <pre><code>*** -[MPTransportButton _isChargeEnabled]: message sent to deallocated instance 0x258f75d0 </code></pre> <p>The project uses ARC and I am <strong>not</strong> natively playing the video it is all handled by the UIWebview in an embedded player. So this apparent memory management issue is internal to the UIWebview managed code.</p> <p>I suspect it has something to do with the Orientation changes as it seems to be related to watching the video in landscape. Unfortunately this is a requirement.</p> <p>The embedded brightcove code can be found in a related link on their support forums <a href="http://forum.brightcove.com/t5/HTML5-Mobile-Video/Native-app-UIWebView-with-Brightcove-player-crashes-once/td-p/22654" rel="nofollow noreferrer">Brightcove Crash</a></p> <p>I have seen other questions but no answers <a href="https://stackoverflow.com/questions/7075134/uiwebview-load-crash-nscfdictionary-ischargeenabled">UIWebView Crash</a> and <a href="https://stackoverflow.com/questions/12479139/ios-app-crash-issue-uiwindow-warppoint">UIWindow warpPaint</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload