下面的我的代码显示了在类之间进行排序时的状态栏。我问了一个类似的问题,那个人说要把“介绍”改为:“在当前情况下”。问题是我没有使用情节提要。所以我不知道如何仅用代码来做到这一点。
@objc func moveRight() {
let vc = ViewController()
self.present(vc, animated: true)}
喜欢这个:
let vc = ViewController()
vc.modalPresentationStyle = .overCurrentContext // actually .fullScreen would be better
self.present(vc, animated: true)}