문제

I have a SlideMenu that i use this library https://github.com/SocialObjects-Software/AMSlideMenu . My main view project a shadow over my Menu view. I read the documentary but i do not found anything helpfull. Also I try this but do not work.

self.view.layer.shadowOpacity = 0;

my storyboard

How I can DELETE this white shadow? Is any propertie of uiview? THANKS

도움이 되었습니까?

해결책

I look more deep in the documentation and I found This

- (void) configureSlideLayer:(CALayer *)layer
{
layer.shadowColor = [UIColor grayColor].CGColor;
// Change to 0
layer.shadowOpacity = 1;
layer.shadowOffset = CGSizeMake(0, 0);
layer.masksToBounds = NO;
layer.shadowPath =[UIBezierPath bezierPathWithRect:layer.bounds].CGPath;
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top