File tree Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >APPL </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >3.8.0 </string >
18+ <string >3.8.1 </string >
1919 <key >CFBundleURLTypes </key >
2020 <array >
2121 <dict >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ The recommended way to install the Rover SDK is via [Cocoapods](http://cocoapods
1111Add the Rover dependency to your Podfile.
1212
1313``` ruby
14- pod ' Rover' , ' ~> 3.8.0 '
14+ pod ' Rover' , ' ~> 3.8.1 '
1515```
1616
1717### Carthage
@@ -21,7 +21,7 @@ CocoaPods is the simplest approach to installing the Rover SDK but you can also
2121Add the following entry to your Cartfile:
2222
2323``` ruby
24- github " RoverPlatform/rover-ios" == 3.8 .0
24+ github " RoverPlatform/rover-ios" == 3.8 .1
2525```
2626
2727## Initialization
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "Rover"
3- s . version = "3.8.0 "
3+ s . version = "3.8.1 "
44 s . summary = "iOS framework for the Rover platform"
55 s . homepage = "https://www.rover.io"
66 s . license = "Apache License, Version 2.0"
Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >FMWK </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >3.8.0 </string >
18+ <string >3.8.1 </string >
1919 <key >CFBundleVersion </key >
2020 <string >$(CURRENT_PROJECT_VERSION) </string >
2121 <key >NSPrincipalClass </key >
Original file line number Diff line number Diff line change 99import WebKit
1010
1111class WebViewCell : BlockCell {
12- let webView = WKWebView ( )
12+ let webView = WKWebView ( frame : . zero , configuration : WKWebViewConfiguration . roverDefault )
1313
1414 override var content : UIView ? {
1515 return webView
@@ -35,3 +35,12 @@ class WebViewCell: BlockCell {
3535 self . webView. load ( request)
3636 }
3737}
38+
39+ extension WKWebViewConfiguration {
40+ static var roverDefault : WKWebViewConfiguration {
41+ let config = WKWebViewConfiguration ( )
42+ config. allowsInlineMediaPlayback = true
43+ config. mediaTypesRequiringUserActionForPlayback = [ ]
44+ return config
45+ }
46+ }
You can’t perform that action at this time.
0 commit comments