iOS UIButton选中状态下点击高亮

只需将状态设置为

UIControlStateSelected | UIControlStateHighlighted即可

    [self.followBtn setBackgroundImage:[UIImage imageNamed:@"beckoning_btn2"] forState:UIControlStateSelected | UIControlStateHighlighted];

你可能感兴趣的:(iOS UIButton选中状态下点击高亮)