I'm using a custom class of AlertController Here I have an init
Self.init(message: "test1")
Then in the some condition, I have to change the alert message.
If someCondition {
//here
}
I can call another time Self.init(message: "test2")
, but it's not a good way, could anyone recommend a good way to do that?
Thanks