24 hour analog clock

后端 未结 4 846
醉梦人生
醉梦人生 2020-12-20 08:30

I\'m attempting to make a 24 hour analog clock and currently have a 12 hour clock.

What I wrote:

   currentTime = [NSDate date];
dateComponents = [c         


        
4条回答
  •  难免孤独
    2020-12-20 09:02

    Clearly, the angles for minutes and seconds don't change. Only the hour angle is halved. Also, be sure that hour reaches all values up to 23.

提交回复
热议问题