I am creating a pie chart in which each section is a separate button with background image and denotes an individual method, but uibutton has a rectangular shape and all the buttons overlap.
I want to select a section(button) (i.e the button shape should be the image's shape not the default rectangular button) without disturbing the adjacent sections(buttons)...
eg: consider an pie chart with 8 sectors denoted by 8 buttons from 1 to 8,the buttons have background images of sectored shape,if a user taps anywhere on 1st sector(button) then any other sector(button) should not be clicked...