UIButton Disclosure Indicator

Is there an easy way to place a disclosure detail icon on a UIButton? I am using a navigation controller and I want the button to be pressed to bring a new view to the stack, so I thought that the disclosure icon would be suitable, but I have not yet found an easy way to do this.

What I mean is something like the “When Timer Ends” button in the Timer submenu of the Clock application.

+3
source share
2 answers

That "When the timer ends" is a "button" is not really a button, but a highly tuned UITableViewCell.

, . 2 , , -setBackgroundImage:forState:.

+2

UIButton buttonType UIButtonTypeDetailDisclosure!

+14

Source: https://habr.com/ru/post/1740102/


All Articles