简体   繁体   中英

changing the initial viewcontroller in a storyboard

I'm trying to find out if its possible to change the initial storyboards viewcontroller by code.

For example:

App launches --> Viewcontroller A loads --> user makes some interactions --> code get executed --> Viewcontroller B loads

Next time the app launches --> Viewcontroller B loads

Is this possible?

您需要保存一些指示说要在启动时转到B的指示符,如果确实如此,请转到“执行代码-> Viewcontroller B加载”部分。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM