开发个性化镂空带边框Button
//cycleBtn 创建
UIButton* cycleBtn=[UIButton buttonWithType:UIButtonTypeRoundedRect];
cycleBtn.frame=CGRectMake(0, 0, 60, 30);
[cycleBtn setTintColor:[UIColor colorWithRed:0.97f green:0.36f blue:0.36f alpha:1.00f]];
[cycleBtn setTitleColor:[UIColor colorWithRed:0.97f green:0.36f blue:0.36f alpha:1.00f] forState:UIControlStateNormal];
cycleBtn.layer.borderWidth = 1;
cycleBtn.layer.cornerRadius = 4.0;
cycleBtn.layer.masksToBounds = YES;
cycleBtn.layer.borderColor = [[UIColor colorWithRed:0.97f green:0.36f blue:0.36f alpha:1.00f] CGColor];
[cycleBtn setTitle:@"按钮" forState:UIControlStateNormal];
[self.view addSubview:cycleBtn];