我怎样才能绘制一个固定角度的图层,而不是像这样水平的:
CALayer *layer1 = [CALayer layer];
UIImage *image1 = [UIImage imageNamed:@"cuore2.png"];
[layer1 setPosition:CGPointMake(50,50)];
[layer1 setBounds:CGRectMake(10, 10, 40, 40)];
layer1.contents=(id)image1.CGImage;
[self.view.layer addSublayer:layer1];
非常感谢!