Question

Can we display animation on the UIAlertView. Instead of showing just static text in the alert like "This is an alert...", can we have animated text after each second like

"This is an alert"
"This is an alert.."
"This is an alert...."
"This is an alert......"
"This is an alert"
"This is an alert.."

and so on until the alert view is dismissed?

Était-ce utile?

La solution

The title and message attributes are the only properties on UIAlertView that you can change after the alert shows, so yes:

alert.title = @"New title";
alert.message = @"New message";
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top