title: Animating the view
body: <p>I am adding a subView to my superview.It should come on screen with animations.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>HomeListingView=[[UIView alloc]initWithFrame:CGRectMake(10,10,300 , 300+190)];   
  [HomeListingView setBackgroundColor:[UIColor whiteColor]];
  [UIView animateWithDuration:0.1 delay:0.5 options:UIViewAnimationOptionCurveEaseInOut animations:^{
  
      [scrollSell addSubview:HomeListingView]; //scrollsell is the object of UIScrollView
  
  }completion:^(BOOL finished){
  
      NSLog(@"Done");
  
  }];
  </code></pre>
  
  <p>Am I doing something wrong here. Or is there another method to animate?</p>