Icenium を使用してネイティブ アプリを開発しています。現在、icenium (www.icenium.com) を使用して jQuery ajax を使用して API を呼び出すサンプル ハイブリッド アプリケーションを 1 つ作成しましたが、「CORS エラーの可能性があります!」というエラーが発生します。アイセニウムで。
CORS ヘッダーを実装してクロスドメイン ajax を許可する方法を読みましたが、icenium で構築されたネイティブ アプリではまだ機能していないようです。
ここに私の応答ヘッダーがあります:
Content-Length: 76
X-Xss-Protection: 1; mode=block
Content-Language: en
X-Content-Type-Options: nosniff
Status_code: 200
Vary: Accept-Language, Cookie
Allow: GET, POST
Date: Sun, 01 Dec 2013 07:41:33 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type
Content-Type: application/json
X-Frame-Options: SAMEORIGIN
誰も問題を見ませんか?