In UIKit, UIBarButtonItem has an asset called probabilities. How is it being used?
I saw and said that it is referenced in Accelerometer Graph Demo. So I took a look at the demo.
It seems that before you add it to the bar, you can set the possibleTitles
property in the set of strings that can be displayed. I think it is so that the button should take the width of the broad string, so when you change the headline, the width of the button does not change.
Comments
Post a Comment