title: UISwitch not returning its current state (on/off)
body: <p>Here is the IBAction method linked to the UISwitch with the valueChanged event :</p>
  
  <pre><code>- (IBAction) sanitySwitch {
  if (checkoption.on == YES) {
      NSLog(@"SanityCheck ENABLED");
      sanityCheck = YES;
  } else {
      NSLog(@"SanityCheck DISABLED");
      sanityCheck = NO;
  }
  }
  </code></pre>
  
  <p>It always returns "SanityCheck DISABLED". The UISwitch checkoption is correcty linked to its object from the XIB file and proper @propery and @syntetize setting have been placed.</p>