Вы можете использовать метод
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex(NSInteger)buttonIndex
, чтобы получить buttonIndex, а затем вызвать метод, который подключается к вашему веб-сервису оттуда, передавая buttonIndex в качестве параметра. Например:
- (void)methodThatCallsWebservice:(NSInteger)buttonIndex
{
// however you call the webservice goes here
}
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex(NSInteger)buttonIndex
{
[self methodThatCallWebservice:buttonIndex];
}