title: UISwitch animation issue
body: <p><code>UISwithch</code> manage like a radio button. I have three buttons and need to buttons like a radio button if one switch is on then rest set off. Issue in animation. Please check link for animation </p>
  
  <p><a href="https://drive.google.com/file/d/1_UHi0hvLR2SaC6l-TAZHS4vqn54tS_bq/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1_UHi0hvLR2SaC6l-TAZHS4vqn54tS_bq/view?usp=sharing</a></p>
  
  <p>Here I update my code,Functionality is only one switch can on at a time, if one switch getting on rest two switch off.</p>
  
  <pre><code>- (IBAction)switchOnPopular:(id)sender
  {
      if(![_PopularSwitch isOn])
      {
          [_PopularSwitch setThumbTintColor:APP_COLOR()];
          _lblPopular.backgroundColor=[UIColor whiteColor];
          [_PopularSwitch setOn:YES animated:YES];
      }
  
      if([_AtoZSwitch isOn])
      {
          [_AtoZSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblAtoz.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_AtoZSwitch setOn:NO animated:YES];
      }
  
      if([_nearMeSwitch isOn])
      {
          [_nearMeSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblnearme.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_nearMeSwitch setOn:NO animated:YES];
      }
      strFilterOption = BUSINESS_FILTER_TYPE_MOST_POPULAR;
  }
  
  - (IBAction)switchOnNearMe:(id)sender
  {
      if(![_nearMeSwitch isOn])
      {
          [_nearMeSwitch setThumbTintColor:APP_COLOR()];
          _lblnearme.backgroundColor=[UIColor whiteColor];
          [_nearMeSwitch setOn:YES animated:YES];
      }
  
      if([_PopularSwitch isOn])
      {
          [_PopularSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblPopular.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_PopularSwitch setOn:NO animated:YES];
      }
  
      if([_AtoZSwitch isOn])
      {
          [_AtoZSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblAtoz.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_AtoZSwitch setOn:NO animated:YES];
      }
      strFilterOption = BUSINESS_FILTER_TYPE_NEARBY;
  }
  
  - (IBAction)switchOnAtoZ:(id)sender
  {
      if(![_AtoZSwitch isOn])
      {
          [_AtoZSwitch setThumbTintColor:APP_COLOR()];
          _lblAtoz.backgroundColor=[UIColor whiteColor];
          [_AtoZSwitch setOn:YES animated:YES];
      }
  
      if([_PopularSwitch isOn])
      {
          [_PopularSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblPopular.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_PopularSwitch setOn:NO animated:YES];
      }
  
      if([_nearMeSwitch isOn])
      {
          [_nearMeSwitch setThumbTintColor:FOLLOWING_COLOR()];
          _lblnearme.backgroundColor=SWITCH_OFF_LBL_COLR();
          [_nearMeSwitch setOn:NO animated:YES];
      }
      strFilterOption = BUSINESS_FILTER_TYPE_ALPHABETIC;
  }
  </code></pre>