Newly created pdfs do not open on iPads

Hi,


TPath.GetSharedDocumentsPath is empty on iOS (see

http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.IOUtils.TPath.GetSharedDocumentsPath),
so this will not work.


However, we tested a few other things:
1) TTMSFMXUtils.OpenFile does not work
2) TTMSFMXNativeUIDocumentInteractionController.ShowPreview works when triggered by a button click after the pdf was created
3) TTMSFMXNativeUIDocumentInteractionController.ShowPreview works not when called immediately after creating the pdf.
4) Adding a call to Application.ProcessMessages between pdf creation and TTMSFMXNativeUIDocumentInteractionController.ShowPreview does not work either

Strange indeed.

PS: I forgot to test TTMSFMXUtils.OpenFile with some other file types, will do that tomorrow.