组件卸载时删除标记(仅 iOS 问题)react-native-maps

Marker removed when component unmounts ( issue on iOS only ) react-native-maps

我在我的地图中使用标记是这样的:

<MapView
            ref={map => (this.map = map)}
            initialRegion={{
                latitude: 37.78825,
                longitude: -122.4324,
                latitudeDelta: 0.0922,
                longitudeDelta: 0.0421
            }}
            provider={PROVIDER_GOOGLE}
            showsCompass={false}
        >
            <Marker
                image={imagePath.pin}
                coordinate={currentLatLong}
                title={formattedAddress}
                draggable
                tracksViewChanges={false}
                onDragEnd={this.onDragEnd}
                onPress={(e) => { e.stopPropagation(); this.onMarkerPress(); }}
                zIndex={100}
            />
            
        </MapView>

但是每当我移动到下一个屏幕然后返回时,标记就会完全消失,它在 android 上工作正常,但在 iOS 上却不行。 有什么见解吗?

我想这个问题只存在于带有图钉图像的自定义标记上,否则,它工作正常。