rp90
rp90

Reputation: 874

CATiledlayer distortes CGPath

I am using CATiledlayers and UIScrollviews to draw CGPaths at different levels of detail. I am drawing big pictures (4000x4000). On the iPhone the image gets distorted for these large pictures.

I have finally found a solution. My mistake was that I set the tileSize to the size of the image I was drawing (copied from a PDF sample demo somewhere). The solution is to set the tileSize to a max of 2000x2000.

Upvotes: 1

Views: 273

Answers (1)

rp90
rp90

Reputation: 874

Apple confirmed this was a bug when this was posted

Upvotes: 1

Related Questions