title: How To Get Values From UISegmentcontroller
body: <p>I Created Segment Control through Interface Builder.
  Created a IBAction and Linked to Value Changed Option of segment Controller.</p>
  
  <pre><code>- (IBAction)GenderBttonAction:(id)sender {
      printf("\n Segemt Controll");
     } 
  </code></pre>
  
  <p>When i click on segment controller this method is calling , but how would i get the seleced index value of segment controller.
  Please help me dears.</p>