programmatically highlight UIBarButtonItem
问题 after tapping the 'record' BarButtonItem I would like to keep it programmatically highlighted until the recording is over. The highlighting graphics of iOS are very good, therefor I would like to remain or set that state. Up to now I found 'setSelected' and 'setHighlighted' but these do not work on a UIBarButtonItem. Any suggestions on how to solve this? Thank you in advance, Koen. 回答1: setSelected and setHighlighted work fine on UIControls, but not UIBarButtonItems (which are not UIControls)