Wednesday, May 25, 2011

Rotate UI Objects in iPhone SDK

Hello Friends,

Today we will take a look for rotating UI object in iPhone SDK. Generally we dot need such kind of stuff in our application. But in some application  this issue can be headache. As such issues should be in developer mind, so work done simple.

To Rotate Button:
button.transform=CGAffineTransformMakeRotation(0.25);

To Rotate Label:
label.transform=CGAffineTransformMakeRotation(0.25);

Have a nice day..!!!

No comments:

Post a Comment