mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +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); |             base.OnElementChanged(e); | ||||||
| 
 | 
 | ||||||
|             if (Control == null) |  | ||||||
|             { |  | ||||||
|                 SetNativeControl(new UIWebView()); |  | ||||||
|             } |  | ||||||
|             if (e.OldElement != null) |             if (e.OldElement != null) | ||||||
|             { |             { | ||||||
|                 // Cleanup |                 // Cleanup | ||||||
|             } |             } | ||||||
|             if (e.NewElement != null) |             if (e.NewElement != null) | ||||||
|             { |             { | ||||||
|  |                 if (Control == null) | ||||||
|  |                 { | ||||||
|  |                     SetNativeControl(new UIWebView()); | ||||||
|  |                 } | ||||||
|                 LoadPdfJS(); |                 LoadPdfJS(); | ||||||
|                 var pdfView = Element as PdfView; |                 var pdfView = Element as PdfView; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez