I have the below menu style layout that mimics facebook. I would like to have a dropshadow on the left side like below however the code I am using with layer shadows makes the a
It should help to specify a shadow path, e.g.,
CGPathRef shadowPath = [UIBezierPath bezierPathWithRect:self.navController.view.layer.bounds].CGPath;
[self.navController.view.layer setShadowPath:shadowPath]
According to the CALayer documentation, "Specifying an explicit path usually improves rendering performance."