ShadowedView corner radius not working iOS swift
Solution: MaterialComponents/ ShadowElevations to set corner radius in swift func setCorner () { self . cornerRadius = 10 self . layer . masksToBounds = true self . clipsToBounds = false } Then call the function as like below. shadowView .setCornerSmall()