I would like to draw, in a ViewController, a countdown like in the following image:

Unfortunately, I don’t have any idea on how to realize this. I will be please if someone could give me a clue on this.
Cheers.
Cyril
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A quick thought, I would not like to draw it by using any iOS frameworks :), Just use small
UIWebViewand run javascript(Only works if user enables javascript, but hey I have seen no one yet who doesn’t use javascript).Javascript polar time can be found on internet, open source like,
http://oneorangesoftware.com/polartimer/
change and edit a bit and off you go! Awesome time!
Cheers!
If you don’t like above approach than you may look into this code,
http://www.herbert-siojo.com/2011/04/19/drawing-a-countdown-timer-ios/
nicely crafted however to achieve same look as yours you may have to tweak a bit!
Beware of this line in code,
just change to,
Credit : Goes to a developer who posted their code on http://www.herbert-siojo.com/2011/04/19/drawing-a-countdown-timer-ios/.