1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00

Correctif crash iOS

This commit is contained in:
Yan Maniez 2019-05-13 19:08:36 +02:00
parent b4b47dcf71
commit f85e6ba7cc

View file

@ -38,16 +38,16 @@ namespace AideDeJeu.iOS
{
base.OnElementChanged(e);
if (Control == null)
{
SetNativeControl(new UIWebView());
}
if (e.OldElement != null)
{
// Cleanup
}
if (e.NewElement != null)
{
if (Control == null)
{
SetNativeControl(new UIWebView());
}
LoadPdfJS();
var pdfView = Element as PdfView;