iphone 弹出选择对话框
//弹出选择框-(void)showOptionSheet{ NSString *title = [Comm str:@"option"]; UIActionSheet * dateSheet = [[UIActionSheet alloc] initWithTitle:title delegate:self cancelButtonTitle:[Comm str:@"passwordEdit"] destructiveButtonTitle:[Comm str:@"PayPasswordEdit"] otherButtonTitles:nil]; dateSheet.actionSheetStyle = self.navigationController.navigationBar.barStyle; [dateSheet showInView:self.view];}-(void)actionSheet:(UIActionSheet*)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{ if (buttonIndex == 0) { //@"PayPasswordEdit" }else if (buttonIndex == 1) { //@"passwordEdit" }}