I set the floating panel as follow
// Initialize FloatingPanelController
floatingPanel = FloatingPanelController()
floatingPanel.delegate = self
// Initialize FloatingPanelController and add the view
floatingPanel.surfaceView.backgroundColor = UIColor(displayP3Red: 30.0/255.0, green: 30.0/255.0, blue: 30.0/255.0, alpha: 1.0)
floatingPanel.surfaceView.cornerRadius = 12.0
floatingPanel.surfaceView.shadowHidden = true
floatingPanel.surfaceView.borderWidth = 1.0 / traitCollection.displayScale
floatingPanel.surfaceView.borderColor = UIColor.black.withAlphaComponent(0.2)
appointmentsRoot = storyboard?.instantiateViewController(withIdentifier: "AppointmentsRootVC") as? AppointmentsRootVC
// Set a content view controller
floatingPanel.set(contentViewController: appointmentsRoot)
floatingPanel.track(scrollView: appointmentsRoot.tableView)
floatingPanel.addPanel(toParent: self, belowView: self.tabBarController?.view, animated: false)
and it works fine in iOS 12

but in iOS 10 and iOS 11 contentviewcontoller has a gray layer on it.

any idea how to resolve this>
I set the floating panel as follow
and it works fine in iOS 12
but in iOS 10 and iOS 11 contentviewcontoller has a gray layer on it.
any idea how to resolve this>