I managed to add shadows to many of the user interface objects in my view, including pretty nicely dropping the shading of some user drawing in the UIImageView. However, the same code does not give anything when applied to a UITextView:
[desc.layer setShadowColor:[[UIColor blackColor] CGColor]]; [desc.layer setShadowRadius:2.0f]; [desc.layer setShadowOffset:CGSizeMake(1, 1)]; [desc.layer setShadowOpacity:0.8f];
Is this something I'm missing? I was hoping to use quartz to add border and shadow. The border code works when commenting:
source share