I have read the guidelines for contributing and I understand:

This is a question for stackoverflow.com.
It works fine with other viewcontrollers if I pin the UIView to superview but is specifically not working with the SideMenu.

The solution is
if let navigationController = self.navigationController as? UISideMenuNavigationController {
navigationController.sideMenuManager.menuAnimationBackgroundColor = UIColor.clear
}

Thank you! Exactly what I needed.
Based on @takasurazeem solution:
let menu = SideMenuNavigationController(rootViewController: controller)
menu.presentationStyle.backgroundColor = .clear
Most helpful comment
The solution is