In iOS 12.x UIWebView is crashing while running a video and switching to play other video. In iOS 11.x it is working fine.

Originator:s.vijayvikram
Number:rdar://45033186 Date Originated:05/10/2018
Status:Open Resolved:
Product:iOS Product Version:12.x
Classification:Bug Reproducible:Always
 
Summary:
Open a url in UIWebView having 3-4 videos in iOS 12.x. Play first video stop it then play second video. It is crashing. On iOS 11.x it is working fine.

Steps to Reproduce:
1.Unzip the attached project TestWebViewApp.zip. Open the TestWebViewApp.xcodeproj in Xcode 10.1 and run on iPhone simulator or device  having iOS 12.1 e.g iPhone 6s.
2. Play first video appearing on screen.
3. Stop first video, close it and play the second video visible on screen.
4. Stop second video, close it and play the third video visible on screen.
5. It will crash in step 3 or 4.

Expected Results:
App should not crash while switching video play.

Actual Results:
App is getting crashed.

Version/Build:
Xcode 10.x, iOS 12.x

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!