Is there a way to get access to the up/down arrows used in the Mail app and implement them the same way?
+2
A:
No, there's no supported way to do it. I'd suggest you file a bug on Radar asking Apple to include more built-in artwork. In the mean time, you'll just have to draw your own.
Brent Royal-Gordon
2009-03-28 00:11:23
A:
Can you clarify your question?
The graphics for up/down are not easily accessible, though you can probably find a way to get them. For instance, see http://0xced.blogspot.com/2009/04/extract-uikit-artwork.html.
But if you're looking for the behavior, it's really quite simple. The arrows are on a momentary UISegmentedControl
. Attach to valueChanged:
to tell when the user taps on one of them, and use selectedSegmentIndex
to tell which one they tapped.
Steven Fisher
2010-05-04 22:46:14