How to Rotate Image in iPhone?
<p>I am trying to rotate an image in a iPhone application, but I am not able to rotate it for a particular angle which I need. Can any one help in solving this problem?</p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;

@interface ConsumingWebServicesViewController : UIViewController&lt;UITextFieldDelegate&gt;{
    IBOutlet UITextField *username;
    IBOutlet UITextField *password;
    IBOutlet UITextField *deviceid;
IBOutlet    UIActivityIndicatorView *activityindicator;

    NSURLConnection *conn;
    NSMutableData *webData;
}
@property(nonatomic,retain)UITextField *username;

@property(nonatomic,retain)UITextField *password;

@property(nonatomic,retain)UITextField *deviceid;
@property(nonatomic,retain)UIActivityIndicatorView *activityindicator;
-(IBAction)buttonpressed:(id)sender;

@end
</code></pre>
