iOS Question Open local pdf file

Discussion in 'iOS Questions' started by mrossen, Sep 1, 2015.

  1. mrossen

    mrossen Active Member Licensed User

    I can open a pdf file from my website like this:

    Code:
    Dim Path = "http://www.lpastech.dk/el-pas.com/E-Cruise/" & sBrand & "/Installation%20Manuals/" & sPath As String   
    App.OpenURL(
    Path)
    Then Ios will open the pdf outside my app.

    I would like to do the same if I already have downloadet the pdf.

    I try something like this, but nothing happens

    Code:
    Dim Path = "file://" & File.Combine(File.DirDocuments, "leaflet_dk.pdf")
    App.OpenURL(
    Path)
    Can this be done ?

    Anyone have a idea ?

    Mogens
     
  2. JanPRO

    JanPRO Well-Known Member Licensed User

  3. mrossen

    mrossen Active Member Licensed User

    Yes I have seen that.

    But I don't think that is what I want

    Thanks, by the way

    Mogens
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You can use WebView to show a local pdf file.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice