how can i use a particular UIActionSheet's button with some actioning (explain in brief) in iphone ?
views:
33answers:
1
Q:
how can i use a particular UIActionSheet's button with some actioning (explain in brief) in iphone ?
A:
You have to implement the UIActionSheetDelegate protocol. The method you are looking for is the
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
You have to check for the buttonIndex and then you can do whatever you want.
schaechtele
2010-04-09 06:53:32