-[UIWebView setMediaPlaybackRequiresUserAction:] affects all instances
Originator: | a.corscadden | ||
Number: | rdar://21170272 | Date Originated: | 29-May-2015 |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | 8.3 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: UIWebview's setMediaPlaybackRequiresUserAction affects all instances of UIWebview. In the provided sample code, look in didFinishLaunchingWithOptions. Steps to Reproduce: 1. Instantiate 2 UIWebViews. 2. set mediaPlaybackRequiresUserAction to NO on the first one. 3. mediaPlaybackRequiresUserAction will have a value of NO on both webviews. Expected Results: The value of mediaPlaybackRequiresUserAction should only change for the instance that the message is sent to. Actual Results: The value of mediaPlaybackRequiresUserAction changes on all instances of UIWebView whenever it is set on any UIWebView. The value of mediaPlaybackRequiresUserAction is also persisted across app launches. On a fresh app launch, the value of mediaPlaybackRequiresUserAction will be whatever it was last set to. Version: iOS 8.3 (12F70) Notes: Configuration: iPhone 6 64GB and iPhone 6 Simulator
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!