python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Covering a CALayer with a CGImage
I have a CGImage that I want to show in a CALayer. Setting the content and the gravity to the bottom-left works like expected.
layer.contents = cgimage
layer.contentsGravity = .bottomLeft
Now I want...
tcurdt
Votes: 0
Answers: 2
Zoom into AVCaptureVideoPreviewLayer
I am setting up a AVCaptureVideoPreviewLayer which shows the full video input in the preview just fine. Now I want zoom into (the layer). I tried to scale and transform on the CALayer level. This does...
tcurdt
Votes: 0
Answers: 0