Search code examples
iosiphonedropbox

Open .html file on iOS device


I have a dropbox public link like this: https://www.dl.dropboxusercontent.com/s/xxxxxx/index.html I want to open it on iPhone and it should be shown the content of html like this.

enter image description here

But the actual result was: enter image description here

I don't know why. Can anyone help me !!!


Solution

  • I could see that your aim is to make IPA download on clicking specific link.

    What I did was, created new repository over GitHub and uploaded index.html over there.

    Then I followed steps mentioned here

    Steps to host on Github.

    1. Create a new project.
    2. Add index.html as we will be hosting a site in Github Pages. Note html file with other name will not be valid as it should always be with index name.
    3. Now go to project settings. Traverse through Github Pages
    4. Under source tab select master-branch and click on save
    5. Traverse back Github Pages you will see site will be published

    It will show the html page as desired.