title: iPhone Animation : How to animate only subview ? Not the whole view?
body: <p>I am new with animations and I am using following code for Flip animation.</p>
  
  <pre><code>//MyMapView is UIView
  
  MyMapView *aMapView = [[MyMapView alloc] initWithFrame:CGRectMake(0, 118, 321, 300) AndResArray:self.nearMeArray];
  
      [UIView beginAnimations:nil context:nil];
      [UIView setAnimationDuration:1.0];
      [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.view cache:YES];
      [[self view] addSubview:nearMeMap];
  
      [UIView commitAnimations];
  </code></pre>
  
  <p>Its working fine. But whole view (with super view) Flips.</p>
  
  <p>I only want to Flip subview that is <code>MyMapView</code>. The super view should not flip.</p>
  
  <p>How to do this ???</p>
  
  <p><strong>EDITED</strong>   </p>
  
  <p>screen :</p>
  
  <p>Below is main screen. When click on Map button I want to Flip only Brown part of the screen. Whole screen should not Flip.</p>
  
  <p><img src="https://i.stack.imgur.com/PR2b1.png" alt="enter image description here"></p>
  
  <p>Thanks...</p>