mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 15:36:07 +00:00 
			
		
		
		
	Correctif crash iOS
This commit is contained in:
		
							parent
							
								
									b4b47dcf71
								
							
						
					
					
						commit
						f85e6ba7cc
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -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; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez