You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That makes sense. I was coming from the point of view of the standard UIAlertController & other UI items which allows changing the title and message properties after initialisation (More as a point of keeping consistency with other UI elements than anything else).
I suppose this issue should be 'Don't allow modification of title after initialisation' instead :)
After initializing a simpleAlert controller, it is possible to change the title, but it is not possible to change the message.
This works:
let alert = SimpleAlert.Controller(title: "blah", message: "blah", style: .Alert)
alert.title = "changed it"
But this doesn't:
let alert = SimpleAlert.Controller(title: "blah", message: "blah", style: .Alert)
alert.message = "changed it"
For consistency & flexibility, it should be possible to set the message value in the same way as the title.
The text was updated successfully, but these errors were encountered: