max_
max_

Reputation: 24481

Display a UIAlertView with a countdown?

I want to display a countdown of 3 seconds within a UIAlertView. Once the countdown is up, the user will be redirected to the next level of a game, and the alert will be dismissed. But how can I display the current countdown int in the UIAlertView?

Upvotes: 1

Views: 844

Answers (2)

Black Frog
Black Frog

Reputation: 11725

You have to create your own custom UIView.

Upvotes: -1

conmulligan
conmulligan

Reputation: 7148

When you create the UIAlertView try holding onto the pointer and using an NSTimer to update the message or title property every second.

Upvotes: 2

Related Questions