Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Shadow and Radius for Circle Button
- myBtn.layer.shadowColor = UIColor.black.cgColor
- myBtn.layer.shadowOffset = CGSize(width: 0.0, height: 2.0)
- myBtn.layer.masksToBounds = false
- myBtn.layer.shadowRadius = 1.0
- myBtn.layer.shadowOpacity = 0.5
- myBtn.layer.cornerRadius = myBtn.frame.width / 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement