YoutubePlayer-in-WKWebView
YoutubePlayer-in-WKWebView copied to clipboard
no handler for button x to dismiss
My issue is to dismiss the view controller when click on "X" button.
For me I can get call back in this method.
AppDelegate.swift
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
return self.orientationLock
}