UISearcBar position issue when searchBar is active

I have a Popover which has UISearchController assigned to UINavigationItem’s searchController property (introduced from iOS 11).When the serchController becomes active, the SearchBar is almost touching the navigationBar. I need a proper top space above to searchBar. i tried with different approaches like applying Constraints and BarPositions but none of them are worked.

is there any straining forward approach for handling this problem? please let me know if there is even any customisation needs be to done.

Please refer the provided screenshot for the issue discussed.


Thank you Guys!

Did you ever find a solution to this issue?