I am currently building an iphone game, that when the progress bar is full(that is when the character is in full power), user can click the progress bar and it triggers some action.
How to make a progress bar clickable like a uibutton? I saw the accessibility with the button option, but I have no idea how you implement it.
You could add a
UITapGestureRecognizerto it or put it inside aUIButtonwith typeUIButtonTypeCustom