Note that there are some explanatory texts on larger screens.

plurals
  1. POiPad Air strange Mask + animation behavior
    primarykey
    data
    text
    <p>we realized an App some time ago which does an animation behind a masked view:</p> <pre><code>UIBezierPath *myBezierPath = myVectorDrawing.bezier; CAShapeLayer *myShapeLayer = [CAShapeLayer layer]; myShapeLayer.path = myBezierPath.CGPath; debugLog(@"wize: height%f width%f",myShapeLayer.frame.size.height, myShapeLayer.frame.size.width); CAShapeLayer *maskWithHole = [CAShapeLayer layer]; maskWithHole.frame = self.mask.layer.bounds; UIBezierPath *maskPath = [UIBezierPath bezierPath]; [maskPath moveToPoint:CGPointMake(CGRectGetMinX(maskWithHole.frame), CGRectGetMinY(maskWithHole.frame))]; [maskPath addLineToPoint:CGPointMake(CGRectGetMinX(maskWithHole.frame), CGRectGetMaxY(maskWithHole.frame))]; [maskPath addLineToPoint:CGPointMake(CGRectGetMaxX(maskWithHole.frame), CGRectGetMaxY(maskWithHole.frame))]; [maskPath addLineToPoint:CGPointMake(CGRectGetMaxX(maskWithHole.frame), CGRectGetMinY(maskWithHole.frame))]; [maskPath addLineToPoint:CGPointMake(CGRectGetMinX(maskWithHole.frame), CGRectGetMinY(maskWithHole.frame))]; [maskPath appendPath:myBezierPath]; [maskWithHole setPath:[maskPath CGPath]]; [maskWithHole setFillRule:kCAFillRuleEvenOdd]; [maskWithHole setFillColor:[[UIColor blackColor] CGColor]]; self.mask.layer.mask = maskWithHole; self.mask.layer.masksToBounds = NO; </code></pre> <p>On all Devices /iOS Versions there was no Problem expect for the new iPad Air, it has massive flickering in the masked area. Did Apple change something due to 64bit Architecture?</p> <p>Any help is appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload