I am new to iOS just have to make a small native app that loads a URL with is hosted on IIS and made on Jquery mobile.
The issue is having when i change the orientation it is clipping from right side while the same thing is working correctly on all android devices.
Please help me out

this is my code

```
#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];

    UIWebView *webView=[[UIWebView alloc]initWithFrame:CGRectMake(0.0, 0.0,768,1024)];

    NSString *httpSource=@"http://www.mydomain.com";
    NSURL *fullUrl=[NSURL URLWithString:httpSource];
    NSURLRequest *httpRequest=[NSURLRequest requestWithURL:fullUrl];
    webView.delegate=self;
    [webView loadRequest:httpRequest];
    [self.view addSubview:webView];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end

```