The previous fix was wrong.
This is the correct value for the case when there is no searchController in the navigationBar.
This fix doesnt handle the case for .isTranslucent = false with searchController in the navigationBar.
I couldnt handle it because the checkSearchController(delta) was not really working correct to take that in account as well.
I also think updateContentInset are also wrong when the searchController exists for .isTranslucent = false
The previous fix was wrong. This is the correct value for the case when there is no searchController in the navigationBar.
This fix doesnt handle the case for .isTranslucent = false with searchController in the navigationBar. I couldnt handle it because the checkSearchController(delta) was not really working correct to take that in account as well.
I also think updateContentInset are also wrong when the searchController exists for .isTranslucent = false