Calculatin banner pixels height on iOS (IronSource).

Hello.

Im using IronSource and have banner with 50 points (pt) height.

On android I can easly calculate pixels height using this formula: dp * Screen.dpi / 160;
On iOS this formula doesnt work.

Please, help calculate banner pixels height on iOS (how to convert 50 iOS points to pixels in Unity).

Same problem here!

And with the formula dp * Screen.dpi / 160 doesn’t work either. The value returned by Screen.dpi is sometimes not the real one and the banner covers the UI.

Have you found a way to fix it?