How to open file in default app on iOS using FireMonkey

  

I am writing an application in FireMonkey for Android and iOS. I would like to open a file from a URL in the default app on my phone (it could be a PDF, DOC, JPG, etc).
On Android, I do it like this:
Intent := TJIntent.Create;
Intent.setAction(TJIntent.JavaClass.ACTION_VIEW);
Intent.setData(StrToJURI(URL));
SharedActivity.StartActivity(Intent);

How can I do something like this on iOS?

Comments are closed.