Cocoa: Youtube video does not support full screen in WKWebview
问题 I’m making a web browser using Xcode, I played with the browser then relized the it dosn’t play full screen youtube video’s and embeded videos. I have tried this code... let webViewConfiguration = WKWebViewConfiguration() webViewConfiguration.allowsInlineMediaPlayback = false WKWebView(frame: .zero, configuration: webViewConfiguration) But it says Wkwebview has no member of allowsInlineMediaPlayback. This is an image of what youtube shows Here is my code for more detail… import Cocoa import