I'm using NS 1.7 and I'm trying to call the UIActionSheet. NS API already had the dialogs.action() which is similar to UIActionSheet, except it does not have the destructive button. So I would like to try to use the native ActionSheet and I have succeeded: 

```
export function editTap(args: GestureEventData) {
   var obj = <any>args.object;
   var actionSheet = new UIActionSheet();
   actionSheet.addButtonWithTitle("Edit");
   actionSheet.addButtonWithTitle("Delete");
   actionSheet.addButtonWithTitle("Cancel");
   actionSheet.cancelButtonIndex = actionSheet.numberOfButtons - 1;
   actionSheet.destructiveButtonIndex = actionSheet.numberOfButtons - 2;
   actionSheet.showFromRectInViewAnimated(obj.page._nativeView.frame, obj.ios, true);
}

```

However, I don't know how to implement the callback (which is UIActionSheetDelegate I guess) that responds to what users have clicked. There is a function in iOS API called `actionSheet:clickedButtonAtIndex`but at I don't know how to call it through javascript (or typescript). Any kind of help is appreciated. 

Thank you very very much.