//按钮边框宽度

    [_numberButton.layer setBorderColor:[UIColor colorWithRed:28/255.0 green:162/255.0 blue:66/255.0 alpha:1].CGColor];

    [_numberButton.layer setBorderWidth:1];

    

    [_numberButton.layer setMasksToBounds:YES];

    

    _numberButton.backgroundColor = [UIColor whiteColor];

    //设置圆角

    _numberButton.layer.cornerRadius = 5;

    

    _numberButton.clipsToBounds = YES;

    

    _numberButton.titleLabel.font = [UIFont systemFontOfSize:13];

相关文章:

  • 2021-08-19
  • 2021-09-05
  • 2022-02-01
  • 2021-11-08
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-12-09
  • 2022-12-23
  • 2021-06-19
  • 2021-06-19
相关资源
相似解决方案