//UIButton :创建UIButton
//自己格式
UIButton *tapButton = [UIButton buttonWithType:UIButtonTypeSystem];
tapButton.frame = CGRectMake(50, 150, 150, 30);
//tapButton.backgroundColor = [UIColor cyanColor];
[self.view addSubview:tapButton];
//设置button前景图片(