I want a to have a conditional if statement to be run when the button is clicked. Basically, it will be if CodigoError is different from 0000 i want to stay in the same view controller which is the login, but if it's correct i want to display the other view controller
Please help i've been searching everywhere, sorry for my english i'm peruvian
if CodigoError != "0000"{
}
else{
self.MessageAlert(userMessage:("Bienvenido(a) " + objReturn.ODNOMBRE! + " " + objReturn.ODAPEMA! + " " + objReturn.ODAPEPA!),title:"Banca Móvil")
// self.performSegue(withIdentifier: "segue", sender:self)
// self.navigateFirstViewController()
}
Aucun commentaire:
Enregistrer un commentaire