What is the image name of the chevron for UITableViewCellAccessoryDisclosureIndicator?
I woul开发者_运维百科d 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"] ?
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 buttonType
– UIButtonTypeDetailDisclosure
.
UIButton * disclosureButton = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
If you need customize the color. You can use this instead of including new images: https://github.com/bitmapdata/MSCellAccessory
精彩评论