Above image is my view before executing the following code.
@interface ViewController ()
@property (nonatomic, weak) IBOutlet UIView *layerView;
@end
@implementation ViewController
@synthesize layerView;
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
CGAffineTransform transform = CGAffineTransformMakeRotation(M_PI_4);
self.layerView.layer.affineTransform = transform;
}
... // more code
And, above image is the view after executing the code. I want the snowman to be rotated to the same size. But, for some reason it's giving me a really small snowman... Can anyone notice the bug?