self.btns2.titleLabel.font = [UIFont systemFontOfSize: 15.0];//设置文字大小
[self.btns2 setTitleColor:BlackColor forState:UIControlStateNormal];//设置颜色
//设置位置--右对齐
self.btns2. contentHorizontalAlignment =UIControlContentHorizontalAlignmentRight-100;
// 设置位置 距离右边框距离偏移14
self.btns2.contentEdgeInsets = UIEdgeInsetsMake(0,0, 0,14);
//设置button边框
[self.btns2.layer setBorderWidth:0.5];
CGColorSpaceRef colorSpaceRefss = CGColorSpaceCreateDeviceRGB();
CGColorRef colorss = CGColorCreate(colorSpaceRefss, (CGFloat[]){208/255.0,208/255.0,208/255.0,1});
[self.btns2.layer setBorderColor:colorss];
[self.views addSubview:self.btns2];