I am about to customize all of my UIButtons
by subclassing them into a special UIButton
class and I want to have the "look and feel" like below octagonal or some hexagonal buttons. What would be the best way to create such shape UI buttons? So far, I only know how to create rectangle, circular and rounded-edge buttons, and I could not find SO answers or cocoapods for below "look and feel".
Is it possible to create a custom class of such
UIButton
programmatically?Or do I need to import an image onto a button to realize below "look and feel"?
Also, could there be any possibility be that App Store does not allow such custom shape buttons?
CodePudding user response: