SwiftyCam
SwiftyCam copied to clipboard
preview frame fix in case of using SwiftyCamViewController as a child vc
I want my camera to take part of the screen. In current code previewLayer.videoPreviewLayer.connection == nil
until viewDidAppear
, so the last time viewDidLayoutSubviews
is called connection == nil
, and the layer frame is not updated