我有一个alertController
:
let alertController = UIAlertController(title: "Success", message: "Your book has been uploaded", preferredStyle: .alert)
let PostBook = UIAlertAction(title: "OK", style: .cancel, handler: { action in self.performSegue(withIdentifier: "PostBook", sender: nil)})
alertController.addAction(PostBook)
self.present(alertController, animated: true, completion: nil)
print("Posted to Firebase. ")
在 UIAlertAction
中,我有一个 segue 操作,每次我进行 segue 时,它都会使标签栏变白。选项卡栏仍然存在,它只是把它变白了,这是我不想要的。转场是表演转场。
最佳答案
关于ios - UIAlertController 删除 segue 上的标签栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44643763/