Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make UITableViewCellAccessoryDisclosureIndicator visible in black background?

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

in this method

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;

but I can only see it when I select that cell otherwise it's not visible.and it work perfectly when background is white. I am sure that I need to set a property, but I don't know which property I need to change to make this thing work.

thanks in advance.

cheers.

like image 648
Amit Vaghela Avatar asked Oct 30 '08 01:10

Amit Vaghela


1 Answers

I ran into this same issue, and just create a UIImageView out of a UIView’s imageWithName @"AccDisclosure.png" using the following hastily mocked-up graphic which you're free to copy: http://thinkingman.com/db/downloads/AccDisclosure.png (if you just click that link, you'll probably see nothing, as it's a white image with a transparent background, but if you save it and view against a dark background, you'll see the alpha).

like image 90
Adam Prall Avatar answered Sep 28 '22 18:09

Adam Prall