title: UIView setHidden not working
body: <p>I am writing an app for the iphone and am attempting to create a view controller with two different views. So I have a subview created on top of the initial view in storyboard. I have created an outlet in the .h for the new view. I want to display the resultsView after the button is pressed so I have the view set to hidden in properties.</p>
  
  <pre><code>@interface ViewController : UIViewController 
  {
  UIView *resultsView;
  }
  @property (nonatomic, retain) IBOutlet UIView *resultsView;
  - (IBAction)buttonTapped:(id)sender;
  </code></pre>
  
  <p>In my .m I have the following code</p>
  
  <pre><code>#import "ViewController.h"
  
  
  @interface ViewController ()
  
  @end
  
  @implementation ViewController
  
  @synthesize resultsView;
  
  - (IBAction)scanButtonTapped:(id)sender
  {
  [resultsView setHidden = NO];
  }
  </code></pre>
  
  <p>I have also tried </p>
  
  <pre><code>resultsView.hidden = NO;
  </code></pre>
  
  <p>Neither of these worked and I tried NSLog to retrieve the BOOL of resultsView.hidden and it was still YES.</p>