For my application I\'m using a TableView and using customized UITableViewCells.
I customized my cells via interface builder, not programmatically. Is there a way to als
CAGradientLayer *gradient = [CAGradientLayer layer]; gradient.frame = yourView.bounds; gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor blackColor] CGColor], (id) [[UIColor whiteColor] CGColor], nil]; [yourView.layer insertSublayer:gradient atIndex:0];