title: How to hide/show UIView with animation in iPhone
body: <p>I want to show UIView after button pressed with animation,I can show the view but I am unable to hide it again pressed that button.Here is my code to show/hide the view.
  To Show the UIView :</p>
  
  <pre><code>    sliderView.frame =  CGRectMake(130, 20, 0, 0);
      [UIView animateWithDuration:0.25 animations:^{
      sliderView.frame =  CGRectMake(130, 30, 100, 200);
      }]; 
  </code></pre>
  
  <p>To Hide the UIView :</p>
  
  <pre><code>     [UIView animateWithDuration:0.25 animations:^{
       sliderView.frame =  CGRectMake(130, 30, 0, 0);
      }]; 
  </code></pre>
  
  <p>Using above code view is showing with animation but not hiding.
  Does anybody know how to hide it,Please help,Thanks</p>