Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个看起来像闪屏的视图,它将在应用程序首次启动时加载。我还创建了一个 segue,在执行某些后台任务后,它将从初始启动屏幕转到主视图。但是,我不知道如何启动 segue,因为我在该启动画面中没有任何用户交互。有人对这个问题有答案吗?
如果您UIViewController从情节提要创建了一个,则可以使用performSegueWithIdentifier:sender:
UIViewController
performSegueWithIdentifier:sender: