I have created a new storyboard named "Start.storyboard", but when I change Main Interface to "Start" nothing happened, The app just started with default storyboard "Main.storyboard".
(我创建了一个名为“ Start.storyboard”的新情节提要,但是当我将主界面更改为“开始”时,什么都没发生,该应用程序仅从默认情节提要“ Main.storyboard”启动。)
I'm using xCode 11.2.1 and iOS 13.2.3 (我正在使用xCode 11.2.1和iOS 13.2.3)
Also I have tried to change the rootViewController from (AppDelegate) didFinishLaunchingWithOptions as the code below:
(我也试图从(AppDelegate)didFinishLaunchingWithOptions更改rootViewController为以下代码:)
let sb = UIStoryboard(name: "Start", bundle: nil)
let vc = sb.instantiateViewController(withIdentifier: "PhoneVC")
self.window?.rootViewController = vc
but I got the same result, Main storyboard can't be changed.
(但我得到了相同的结果,无法更改主情节提要。)
ask by Wafi AlShammari translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…