I added the brand new SceneDelegate and my toolbar clicks not make it by the IBActions. I even recreated the IBActions and verified the protected space (which I didn’t change). All different GUI actions work fantastic. The Toolbar merchandise Retailers work fantastic too, as a few buttons are UIImages I set within the code. I attempted all the same old issues steered. The buttons behave visually as if pressed, simply nothing occurs in my fundamental UIViewController.
My SceneDelegate.swift has the next (and solely this), and I verified it does get known as:
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, choices connectionOptions: UIScene.ConnectionOptions)
{
guard let windowScene = (scene as? UIWindowScene) else { return }
// Create the window
let window = UIWindow(windowScene: windowScene)
// 1. Instantiate the storyboard
let storyboard = UIStoryboard(identify: "Predominant", bundle: nil)
// 2. Instantiate your Preliminary View Controller utilizing its Storyboard ID
let rootViewController = storyboard.instantiateViewController(withIdentifier: "Predominant")
// 3. Set the basis view controller
window.rootViewController = rootViewController
self.window = window
window.makeKeyAndVisible()
}
I didn’t make any adjustments to my AppDelegate.
Any ideas?
