How do you make the background of an IKImageBrowserView transparent? There seems to be no background color option in interface builder.
I\'m trying to create a UIView subclass (\"GradientView\") that will fill itsel开发者_如何学Pythonf with a gradient of various colors. I\'ve implemented it by adding a CAGradientLayer as a sub-layer o
in my previous code,I changed the coordinate system in my view\'s drawRect,so that the rectangle had 0,0in the centre, 0,1at the top centre and 1,0in the centre of the right edge. I.e. a normalised Ca
Drawing/painting should always be done on the GUI thread otherwise deadlocks can occur!... How do you determine if a call may cause unsafe painting off of the main thread for iOS?
I have a CALayer object. In viewDidLoad: I set a transform to it using layer.transform = CATransform3DRotate(CATransform3DIdentity, M_PI/8.0, 0, 0, 1); This works.
I\'ve got my layer hosted workspace working so that using CATiledLayers for hundreds of images works nicely when the workspace is zoomed out substantially. All the images use lower resolution represen
Is it possible to use gesture recognizers with layers? Let\'s say I want to add several sublayers to my view and implement drag&drop as well as tapping on single element.
I have some CALayers in a layer hosted view. Each of these layers has additional layers to hold (1) a close button, and (2) a resize handle. These additional \'control\' layers are added as sublayers
In my application, I have created a CALayer (with a few sublayers - the CALayer is composed of shapes added as sublayers).
I have a subclassed UIView that is comprised of several layers (mostly CAShapeLayers with a few CATextLayers). The problem I have is that if I animate resizing the UIView using an animation block (beg