Re: table select color
Re: table select color
- Subject: Re: table select color
- From: Ron Reuter <email@hidden>
- Date: Fri, 01 Jul 2016 16:34:53 -0500
Andreas,
Subclass UITableViewCell and implement this method, which will be called when you touch the cell.
Deque this type of cell in tableView:cellForRowAtIndexPath:
You could also change the attributes of labels, images, etc. contained in the cell if appropriate.
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
self.highlighted = NO;
if (selected)
{
self.backgroundColor = [UIColor blueColor];
}
else
{
self.backgroundColor = [UIColor blackColor];
}
}
-- Ron
On Jul 1, 2016, at 1:55 PM, Andreas Kiel <email@hidden> wrote:
Hello,
is there any way to change "selection color " for a table view?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden