#define Start_X 5.0f // 第一个按钮的X坐标
#define Start_Y 5.0f // 第一个按钮的Y坐标
#define Width_Space 5.0f // 2个按钮之间的横间距
#define Height_Space 5.0f // 竖间距
#define Button_Height 175 // 高
#define Button_Width 152.5 // 宽
-(void)addButtonS
{
int endImageY = 0;
for (int i = 0 ; i < self.imageArray.count; i++) {
NSInteger index = i % 3;
NSInteger page = i / 3;
// 圆角按钮
UIImageView *imageview = [[UIImageView alloc] init];
imageview.frame = CGRectMake(index * (Button_Width + Width_Space) + Start_X, page * (Button_Height + Height_Space)+Start_Y, Button_Width, Button_Height);
imageview.tag = 10000 + i;
imageview.userInteractionEnabled = YES;