iphone - Any examples of creating a dial? -


I want to create a dial with the same behavior for some of the retro phone applications. This is a circular dialer Lets spin around with the finger. How is an idea made or some links that discuss aspects about it?

Make your circular dial with numbers on this Create your moving dial as a transparent image centered on numeric dial so that you can see the number through transparent holes. Apply a small picture to the finger on both sides. When you get touch in one hole areas, track the speed of the finger. As the finger is using the transforming matrix to rotate the transparent dial image. If the finger moves forward incorrectly or when the finger is lifted or moves outside the rotating dial then the dial is "released" and you undo the rotation using the appropriate speed to simulate a spring loaded return. Are there.

[UIView Startup Permissions: Zero Reference: NULL]; [UIView Set Animation Duration: D]; [UIView Set Animation Crow: UIViewAnimationCurveLinear]; [UIView Set AnimationBuginFrenchTant: Yes]; CGAffineTransform transform = CGAffineTransformMakeRotation (/ * some angle * /); Image.transform = transform; [UIView commitAnimations]; The actual number dialed can be detected, can be done in many ways, by calculating the angle of rotation required to make invisible buttons of dials and bottlenecks, or to return the revolving dial. Home. I do not think it will be very difficult to implement it, it is artwork which will be difficult.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -