문제

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?

도움이 되었습니까?

해결책

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";
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top