1, 为数组中的每一个button添加点击事件;[_buttonArray makeObjectsPerformSelector:@selector(addTarget:self action:(orderKind:) forControlEvents:UIControlEventTouchUpInside)];