Skip to main content
Participant
November 30, 2018
Question

is this command available to open adobe acrobat reader in xamarin ios?

  • November 30, 2018
  • 3 replies
  • 898 views

I need to open acrobat reader in xamarin forms ios project. I tried this code but getting errors. I just need to know is this command correct or not.

var url = new NSUrl($"adobereader:{filePath}");

UIApplication.SharedApplication.OpenUrl(url);

This topic has been closed for replies.

3 replies

Legend
December 3, 2018

So, can you open this iCloud file from the Acrobat Reader app directly, using the user interface?

This is an important test. Clearly you will not be able to automate what you cannot do in the user interface.

My advice anyway is to use Send To instead.

Legend
December 3, 2018

Do you mean you are trying to open the iCloud file from within the Acrobat Reader's own app user interface, when you get this error?

Or do you get it when your app attempts to send a URL?

Participant
December 3, 2018

in my own app error this is. i am using xamarin forms(ios)

This is the code i am using to open file

var url = new NSUrl($"adobereader:{filePath}");

UIApplication.SharedApplication.OpenUrl(url);

Legend
November 30, 2018

Someone else posted a similar question but what puzzled me then (and now) is how Reader could possibly read a file inside your app’s Sandbox. I do not see how this could work even in theory. 

Participant
December 3, 2018

My document is inside the icloud

Legend
December 3, 2018

Can the Reader app open the file from iCloud directly?