10

Using a web browser (e.g., Safari, Chrome, etc.) can I view html pages that are stored locally on the iPad? The pages should render properly and execute Javascript/CSS properly.

  • 4
    Where are these files stored? – bassplayer7 May 15 '13 at 16:18
3

Since the files are always local to the app in iOS. You can't open a html with apps like Safari and Chrome to load associated assets (js/images/css).

However, You could use apps like Documents to upload the folder and open in app browser (uiwebview).

Should work if the URL to assets in the html are relative.

  • As I read your answer, it's basically a no. You can't store documents and have the full browsers open them. Chrome, Safari, etc… due to sandboxing. Yes, most apps embed a less optimized web viewer based on the same framework / WebKit as Safari but without some javascript optimizations. – bmike Oct 11 '13 at 14:13
  • Coda launches a local webserver and then opens your documents in the full browser. itunes.apple.com/us/app/coda/id500906297 – vsp Jan 25 '16 at 15:36
-3

Atomic browser will work it out!

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 2
    Thanks for your answer! Please add some more information so that the OP can clearly understand your answer. – daviesgeek Mar 29 '14 at 20:21
1

You can create Web Apps for offline viewing by adding them to the home screen. To do this the web page must be written using HTML5 Offline Application Cache. See the below link for further details.

https://developer.apple.com/library/safari/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html

-3

If you want to run HTML, JavaScript and CSS on iOS then I suggest getting an app like Coffe Script at Once

  • 1
    One line answers with no links or explanations aren't what we're looking for on Ask Different; please enhance this answer with a link to the relevant app and an explanation to what that app does and why you recommend it. – owlswipe Nov 11 '16 at 3:17
0

I always use the GoodReader app to view the local html files. You can try it.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .