// 加边框
        self.buttonsoundImage.layer.borderWidth = 1;
        // 边框颜色
        self.buttonsoundImage.layer.borderColor = [UIColor whiteColor].CGColor;

iOS-设置按钮的边框颜色