3

enter image description here

I am developing an iPhone app in which I need to show countdown clock. I have to show it in a way they display the flight timings on the schedule board on airports. I found a similar question here but its in Android and I am almost illiterate in Java. Can someone help me how can I do this in iOS sdk?

Community
  • 1
  • 1
Dip Dhingani
  • 2,499
  • 2
  • 20
  • 18

2 Answers2

1

If question still actual: you can use SBTickerView. Inside that project you can find good example which illustrate code. Required animation is built by CATransform3D of Core Animation

Ruslan Soldatenko
  • 1,718
  • 17
  • 25
0

An animated 3D transform on the layer of your view will create the visual effect of flipping:

[UIView animateWithDuration:0.5 animations:^{
    view.layer.tranform = CATransform3DMakeRotation(M_PI_2, 1, 0, 0);
}];

An alternative ready-to-use solution to SBTickerView would be the JDFlipNumberView.

calimarkus
  • 9,955
  • 2
  • 28
  • 48