How to set the Button text programatically?
<p>Ha ii every body,i know how to change the button text programatically in iphone<code>[myButton setTitle: @"myTitle" forState: UIControlStateNormal];</code>but my need is i have a label called _lblgenisis,i put some code to change the text of this label and it works fine for me,the code for that is <code>_lblGenisis.text= [NSString stringWithFormat:@"%@ %@",delegate.selectedBook,delegate.selectedChapter];</code>,my requrinment is i have to convert to this code to show the same in button instead of label my button name is _btnGenisis.HOw to do this?
Thanks in advance.</p>

<p>EDIT</p>

<p>i got the anwser.aswer is  <code>[nextButton setTitle:[NSString stringWithFormat:@"%@ %@",delegate.selectedBook,delegate.selectedChapter]forState:UIControlStateNormal];</code>it works for me.Thanku.</p>
