public UpdatePreviewRotation ( UIInterfaceOrientation orientation ) : void | ||
orientation | UIInterfaceOrientation | |
return | void |
public void UpdatePreviewRotation(UIInterfaceOrientation orientation)
{
//Re-size camera feed based on orientation
if (previewLayer == null) return;
previewLayer.Connection.VideoOrientation = configDicByRotationChanged[orientation];
previewLayer.Frame = rootView.Bounds;
}
}