UIKit Internal bug: Unbalanced call to _endOcclusion, please file a feedback report with any information you have that helps reproduce this bug!

FB13206752

I’m using 2 different bottom sheets that the first one is showing up from my ContentView -> LocationRequestIsOnView -> ItemInfoView. LocationRequestIsOnView has a MapKit for showing Annotations of Point Of Interests. When the user tap on an Annotation ItemInfoView pops-up as a bottom sheet to be able to show details of the selected POI. The problem is exactly happening in this step. When the bottom sheet pops-up, I’m closing it through close icon button or using .onDisappear changing isShowingBottomSheet flag to false. As bottom sheet closing it’s immediately shows a large white view and then closing. In this point, I’m getting the following warning in Xcode log.

UIKit Internal bug: Unbalanced call to _endOcclusion, please file a feedback report with any information you have that helps reproduce this bug!

UIKit Internal bug: Unbalanced call to _endOcclusion, please file a feedback report with any information you have that helps reproduce this bug!
 
 
Q