I am making a pie chart where each sector is a separate button with a background image, but UIButton has a rectangular shape and all buttons overlap. Is there a way to make UIButton an exact form of the wrong image (in Swift) so that this does not happen?
Any help would be appreciated
source
share