2

I would like to use the stock chevron in a different part of my app. Does anyone know the name of the image so I can just call [UIImage imageNamed:@"AccessoryDisclosureIndicator.png"] ?

joels
  • 7,249
  • 11
  • 53
  • 94

2 Answers2

1

I don't think you can access the image directly but if you intend to use it for a button, you can get it with the UIButton's buttonTypeUIButtonTypeDetailDisclosure.

UIButton * disclosureButton = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
Deepak Danduprolu
  • 44,595
  • 12
  • 101
  • 105
  • I don't think you will be able to get that. Custom image would be the way to go. – Deepak Danduprolu Jun 28 '11 at 10:28
  • Correct - you can **not** get the arrow, sadly. (So silly of Apple!) Full discussion ... http://stackoverflow.com/questions/13836606/use-table-view-disclosure-indicator-style-for-uibutton-ios – Fattie Nov 29 '13 at 07:39
0

If you need customize the color. You can use this instead of including new images: https://github.com/bitmapdata/MSCellAccessory

Jay Q.
  • 4,979
  • 3
  • 33
  • 36