catiledlayer
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.[详细]
2023-02-20 23:33 分类:问答UIView backed by CATiledLayer in UIScrollView doesn't scroll initially
I\'m adding a CATiledLayer backed UIView in UIScrollView. When the view is first loaded, I\'m trying to fit the UIView, by setting the zoomScale of UIScrollView - this fits the UIView and the layered[详细]
2023-02-18 01:18 分类:问答What is the secret behind "contentScaleFactor" of UIView when used with CATiledLayer?
Greetings, I\'m working on an application inspired by the \"ZoomingPDFViewer\" example that comes with the iOS SDK. At some point I found the following bit of code:[详细]
2023-02-16 01:09 分类:问答Not all tiles redrawn after CATiledLayer -setNeedsDisplay
My view has a CATiledLayer. The view controller has custom zooming behavior, so on -scrollViewDidEndZooming every tile needs to be redrawn. But, even though -setNeedsDisplay is being called on the lay[详细]
2023-02-15 01:46 分类:问答Detect touches within UIScrollView and CATilerLayer
How can i detect the touch (x,y) of my pdf rendered in the ScrollView. To be clear: I want th开发者_StackOverflowe x,y of the pdf not of the screen.[详细]
2023-02-12 23:07 分类:问答How to correctly handle threading when drawing Core Data entity information with CATiledLayer
I\'m contemplating how to offload the drawing of a very large Core Data tree structure to CATiledLayer. CATiledLayer seems to be awesome because it performs drawing on a background thread and then fad[详细]
2023-02-11 21:47 分类:问答How to optimize drawing of a UIView that contains subviews with CATiledLayer layers
I have a UIView within a UIScrollView that contains many UIView subviews. Each of these subviews has a CATiledLayer layer. In addition, I have a magnifying loupe functionality that draws the container[详细]
2023-02-08 18:10 分类:问答Using CATiledLayer's drawLayer:inContext:
I am trying to implement my own map engine by using CATiledLayer + UIScrollView. In drawLayer:inContext: method of my implementation, if I have a certain tile image needed for the current bounding bo[详细]
2023-02-07 17:55 分类:问答Segment a CGImage
In iOS 4.0 and later is there a way to segment a CGImage without loading the entire image into memory? What I am attempting to do is * programmatically* segment an image for use in a CATil开发者_高级运[详细]
2023-02-05 04:30 分类:问答How can I make a UIScrollView with a large image that displays fast (like Photos.app)?
I\'m trying to make a simple image viewer for viewing the full resolution image of an ALAssetRepresentation. It turns out it\'s not quite that simple.[详细]
2023-02-04 17:27 分类:问答