M
M
mikenerevarin2011-10-21 15:35:40
JavaScript
mikenerevarin, 2011-10-21 15:35:40

IOS application with HTML, need to download data from a third party server?

Situation:
You have a simple wrapper iOS application with HTML. You need to download an XML file from a third party server. Possible options and why they have disappeared:
1. AJAX - Access-Control-Allow-Origin cannot be set on the server
2. Websockets - there is no support for ws: / on the server
3. iframe - "impossible".
4. Through the shell - "no."
5. Server-layer (the application knocks on the server with cross-domain AJAX, the server, in turn, takes the data from the source and sends them) - “no”.
6. Flash - no support on iOS

In general, you cannot enter some intermediate nodes and change something on the server. There is html, there is a server, you need to link them directly.

Are there any other ways?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iStyx, 2011-10-21
@iStyx

If you can't/don't want to change the wrapper, then there is no other way.

V
Vitaly Peretyatko, 2011-10-21
@viperet

Third party server - under your control? Use JSONP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question