Hi.
I'm using this to show images and it is running fine in iPhone 5 but not in iPhone 6 and 6Plus and CAShapeLayer is not working fine and it not covers the full width of the image. So is there aything wrong done by me. I'm using this in CardView for ShapeLayer:-
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.imgProfile.bounds byRoundingCorners:(UIRectCornerTopLeft | UIRectCornerTopRight) cornerRadii:CGSizeMake(35.0,35.0)];
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
maskLayer.frame = self.imgProfile.bounds;
maskLayer.path = maskPath.CGPath;
self.imgProfile.layer.mask = maskLayer;