Scale the size of CALayer contents

I have a few UIImageViews inside CALayer. How do I scale them all at once? I did try setting CALayer properties like la.contentsGravity = @"kCAGravityResizeAspect"; but the images inside the layer always display the original size.


if layer contains the image, this will scale it to 65%

layer.transform = CATransform3DMakeScale(.65, .65, 1);

Need Your Help

Human readable and parsable date format in Java

java datetime date date-format

I want to save a Date object to a readable string (for example 22/10/2009 21:13:14) that is also parsable back to a Date object.

2D arrays using NSMutableArray

objective-c cocoa cocoa-touch multidimensional-array nsmutablearray

I need to create a mutable two-dimensional array in Objective-C.