1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00
This commit is contained in:
Yan Maniez 2019-05-13 18:46:30 +02:00
parent af591afcb7
commit b4b47dcf71

View file

@ -67,7 +67,8 @@ namespace AideDeJeu.iOS
var bytes = File.ReadAllBytes(filePath);
Control.EvaluateJavascript($"PDFViewerApplication.open(new Uint8Array({bytes}))");
var bytesString = string.Join(",", bytes);
Control.EvaluateJavascript($"PDFViewerApplication.open(new Uint8Array([{bytesString}]))");
}
void LoadPdfJS()