I noticed strange NeedlePointer behaviour in Xamarin.Forms iOS app (in Android everything seems to be fine) in Xamarin.Forms Prism. After navigating from one page to another and than returning back, thickness seems to be smaller and smaller, and after 3-4 go and back NeedlePointer is not visible. The only way to make it visible again is to change device orientation, so all sizes are invalidated and return to correctly calculated value.
In my case gauge elements are scaled depend on gauge size. Everything works fine, except NeedlePointer Thickness. My first guess was that there is mistake in size calculations, but after detailed check I noticed that navigating from and going back do not call calculations again, so there is not new Thickness value, but element is smaller and smaller.
Even if for example I bind NeedlePointer.Thickness with LabelFontSize, effect is same.
<xForms:NeedlePointer Value="{Binding BoxCounter, Converter={converters:ValueTo1kConverter}}"
Thickness="{Binding Source={x:Reference MyScale}, Path=LabelFontSize}"
KnobColor="Goldenrod" KnobStrokeColor="DarkGoldenrod"
Color="Silver" TailLengthFactor="0.2" LengthFactor="0.875"
EnableAnimation="False"
Type="Bar"/>
LabelFontSize is correct, does not change when not necessary, but NeedlePointer.Thickness is smaller and smaller with every navigating from and going back.
This problem appear only in iOS platform project. In Android everything seems to be fine.