2

How to create a circular knob when user swipes it should rotate that much.

It should rotate on touch.

Its like a radio tuner.

http://db.tt/D8gj4H9G

what should be the right approach doing this?

Can any body please guide on the right path.

ashish
  • 474
  • 7
  • 16
  • if its a full circular disk it easy to rotate CGAffineTransformMakeRotation(angleRadians), but this is arc only what could be the approach I am still thinking.Any help ? – ashish Jan 19 '12 at 12:46
  • Did you get any of the kind? If yes, please give me too. – Chanchal Raj Mar 24 '15 at 17:03

1 Answers1

0

It seems like the easiest way to accomplish this would be to use the UISlider. No?

See: Change iPhone UISlider bar image or Customizing UISlider look

Otherwise you could do an image animation on the button, as in this example: http://iosdevelopertips.com/graphics/animated-gif-animated-images-iphone-style.html

Cœur
  • 37,241
  • 25
  • 195
  • 267
Dan
  • 647
  • 6
  • 9