3

本当に単純な html5 キャッシュ マニフェストを iPad で動作させるのに問題があります。ただし、テストした他のすべてのデバイスとブラウザーで動作します。

iPad サファリの実装にバグがあるか、iPad のその他の制限がありますか、それとも何か不足していますか?

関連するソース ファイルを含めます。

index.html

<!DOCTYPE HTML>
<html manifest="example.appcache">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Hello</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
    <h1>Hello World!</h1>
</body>
</html>

example.manifest

CACHE MANIFEST
# 2010-06-18:v2

# Explicitly cached 'master entries'.
CACHE:
index.html
style.css

# Resources that require the user to be online.
NETWORK:
4

1 に答える 1

0

I've read that on iPad the manifest file must be named "cache.manifest" and that you must specify it as a relative path like <html manifest="cache.manifest"> and not something like <html manifest="/foo/bar/cache.manifest">. So, if it's working in everything else but just no in the iPad, check/try those two things.

于 2011-08-25T05:24:14.537 に答える