I'm using PDFsharp and building in unity and exporting to IOS. When building to windows, or MAC I can get the pdf to save and generate. However when trying to build to iOS I seem to be able to save the file but not load/generate it.
//Works on windows filename = "clientName" + ".pdf"; document.Save(filename); Process.Start(filename);
//Works on Mac filename = Path.Combine(Application.persistentDataPath, clientName + ".pdf"); document.Save(filename); Process.Start(filename);
//Does not work on IOS filename = Path.Combine(Application.persistentDataPath, clientName + ".pdf"); document.Save(filename); Process.Start(filename);
//This is the error I get from Xcode console when running on my iPhone
Uploading Crash Report Win32Exception: Success at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <00000000000000000000000000000000>:0 at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo)
Any ideas on how to load the pdf on IOS?
|