Customize ReplayKit.Preview - for iPhone X UI

Is there a way to customize ReplayKit.Preview() or to be able to set the UI to adjust for iPhone X UI - the weird protruding middle bar on top

I’ve got the same issue