title: IOS 8 xCode 6 button appears disabled but is not
body: <p>Environment: IOS 8.02 Xcode 6</p>
  
  <p>I have a form on a StoryBoard. It has 2 labels a text box and 2 buttons.
  btnValidateAndSave disables all of the other controls on the form and calls a web service.</p>
  
  <p>btnCance goes grey as if it has been disabled however it is clickable.</p>
  
  <p>Below is the actual code behind the form.</p>
  
  <pre><code>#import "vcDigitalKeyManager.h"
  #import "serviceManager.h"
  #import "eziEnums.h"
  #import "IsSystemLockedMethod.h"
  #import "eziResponse.h"
  
  @interface vcDigitalKeyManager ()
  - (IBAction)btnValidateAndSave:(id)sender;
  @property (strong, nonatomic) IBOutlet UITextField *txtDigitalKey;
  @property (strong, nonatomic) IBOutlet UILabel *lblErrorMessage;
  @property (strong, nonatomic) IBOutlet UIActivityIndicatorView *lblValidateActivity;
  @property (strong, nonatomic) IBOutlet UIButton *btnValidateAndSave;
  @property (strong, nonatomic) IBOutlet UIButton *btnCancel;
  @property (strong, nonatomic) NSNumber *isWorking;
  
  - (IBAction)btnCancel:(id)sender;
  
  @end
  
  @implementation vcDigitalKeyManager
  
  @synthesize txtDigitalKey = _txtDigitalKey;
  @synthesize lblErrorMessage = _lblErrorMessage;
  @synthesize btnCancel = _btnCancel;
  
  
  - (void)viewDidLoad {
      [super viewDidLoad];
      // Do any additional setup after loading the view.
      [self.lblValidateActivity setHidden:true];
  
  }
  
  - (IBAction)btnValidateAndSave:(id)sender {
  
      [self.txtDigitalKey resignFirstResponder];
      [self.txtDigitalKey setEnabled:NO];
      [self.txtDigitalKey setUserInteractionEnabled:NO];
  
      [self.lblValidateActivity setHidden:NO];
  
      [self.btnValidateAndSave setEnabled:NO];
      [self.btnValidateAndSave setUserInteractionEnabled:NO];
  
      [self.txtDigitalKey setEnabled:NO];
      [self.txtDigitalKey setUserInteractionEnabled:NO];
  
      self.btnCancel.enabled=NO;
      self.btnCancel.userInteractionEnabled = NO;
  
      [self.lblValidateActivity startAnimating];
  
      _isWorking = [NSNumber numberWithInt:1];
  
      NSString * requestBody = [serviceManager buildSoapMessage:IsSystemLocked :self.txtDigitalKey.text ];
  
      [[NSNotificationCenter defaultCenter] addObserver:self
                                               selector:@selector(displayEziResponse:)
                                                   name:@"kIsSystemLockedResponseNotification"
                                                 object:nil];
  
       [[[IsSystemLockedMethod alloc]init] callNonPciMethod:requestBody servicetype:NonPci];
  
  }
  
  - (void) displayEziResponse:(NSNotification *) notification{
  
      NSDictionary *userInfo = notification.userInfo;
      eziResponse *myResponse = [userInfo objectForKey:@"someKey"];
  
      if([myResponse.ErrorNumber isEqual:@"0"])
      {
          [self dismissViewControllerAnimated:YES completion:nil];
      }
      else
      {
          [self.lblErrorMessage setText:[NSString stringWithFormat:@"%@: %@",myResponse.ErrorNumber, myResponse.ErrorMessage]];
          [self.lblErrorMessage setTextColor:[UIColor redColor]];
          [self.lblErrorMessage setHidden:NO];
  
          [self.lblValidateActivity stopAnimating];
          [self.lblValidateActivity setHidden:YES];
  
          [self.btnValidateAndSave setEnabled:YES];
          [self.btnValidateAndSave setUserInteractionEnabled:YES];
  
          [self.txtDigitalKey setEnabled:YES];
          [self.txtDigitalKey setUserInteractionEnabled:YES];
  
          [self.btnCancel setEnabled:YES];
          [self.btnCancel setUserInteractionEnabled:YES];
  
      }
  
  
  
  }
  
  - (IBAction)btnCancel:(id)sender {
  
      //NSLog([NSString stringWithFormat:@"%d",NSStringFromBOOL(BOOL self.btnCancel.enabled)]);
  
      if(_isWorking == [NSNumber numberWithInt:0])
      {
              [self dismissViewControllerAnimated:YES completion:nil];
      }
      //if(self.btnCancel.enabled)
  
  }
  @end
  </code></pre>
  
  <p>I have tested this in the simulator and on an iPhone 5S
  Any Ideas how to actually disable the button?</p>