Quote:
Originally Posted by harita
hi, Am new to objective-c. I hav done with how to open an Action sheet on button's click. Now, i want that the when i click on button of action sheet then the text value of the button is shown on the button(which is used to open the action sheet)...... plz reply to my query..thanks
|
set a delegate to the ActionSheet
and do code in the implemented method what ever you want...
- (void)actionSheet

UIActionSheet *)actionSheet clickedButtonAtIndex

NSInteger)buttonIndex{
}