[iOS]Gradient 관련 코드(정리 전 원본 코드)
//UIButton에 Gradient적용 let gradientForLogin = CAGradientLayer() gradientForLogin.frame = CGRect(x: 0, y: 0, width: self.view.frame.size.width * (248/1024), height: self.BTNLogin.frame.size.height) //self.BTNLogin.bounds//CGRect(origin: .zero, size: self.BTNLogin.frame.size) gradientForLogin.colors = gradientColors gradientForLogin.startPoint = CGPoint(x: 0, y: 0.5) gradientForLogin.endPoint = CG..