Facing the same issue. There is this space between the status bar and the safe area in iPhone 14 Pro and Pro max. I believe there is a fix required in OS itself. If anyone has any fix for this please do help.
As a temporary solution, I am just moving the view under the white patch up by 10 units or so...