【发布时间】:2020-03-12 12:47:25
【问题描述】:
我的代码是
else if indexPath.row == 4 {
FUser.logOutCurrentUser { (success) in
if success {
tableView.deselectRow(at: indexPath, animated: true)
let vc = UIStoryboard.init(name: "Main", bundle: nil).instantiateViewController(identifier: "welcome") as! Login_VC
self.present(vc, animated: true, completion: nil)
} else {
self.alertController(title: "Alert !", message: "Network error. Try again in sometime.", titleAction: "Ok")
}
} // end of fuser
} // end of else index 4
【问题讨论】:
标签: ios swift uiviewcontroller