开发者

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 buttonTypeUIButtonTypeDetailDisclosure.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜