title: how to move in iphone application to slide from left to right
body: <p>I have created a view in my view controller i want that when i load that subview or show that it may laod from left to right of the orignial view controller</p>
  
  <pre><code> subView = [[UIView alloc] initWithFrame:CGRectMake(20, 125, 560,530)];
  
  [subView setBackgroundColor:[UIColor colorWithRed:216./255 green:238./255 blue:209./255 alpha:1.0]];
  
  
  UIButton *backButton = [UIButton buttonWithType:UIButtonTypeCustom];
  backButton.frame = CGRectMake(40,20, 169,42);
  UIImage*btnImage = [UIImage imageNamed:@"back.PNG"];
  
  [backButton setImage:btnImage forState:UIControlStateNormal];
  
  [backButton addTarget:self action:@selector(backButtonClicked:) forControlEvents:UIControlEventTouchUpInside];
  
  [subView addSubview:backButton];
  
  [self.view addSubview:subView];
  </code></pre>
  
  <p>I want to open this view on button click i want that when button is clicked this view should come on screen sliding from left to right as normally new view controller opens.</p>