开发者

What is the image name of the chevron for UITableViewCellAccessoryDisclosureIndicator?

开发者 https://www.devze.com 2023-03-16 01:39 出处:网络
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 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

精彩评论

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