Cómo configurar el color dual en un botón. Algunas ideas.
Respuestas
1 para la respuesta № 1Prueba esto :
CAGradientLayer *gradient = [CAGradientLayer layer];
gradient.frame =CGRectMake(0, imageView.frame.size.height-50, CGRectGetWidth(imageView.frame), 50);
gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor clearColor] CGColor], (id)[[UIColor blackColor] CGColor], nil];
[imageView.layer insertSublayer:gradient atIndex:0];