mythri
mythri

Reputation: 1

How to get data from remote server database to ios app

Iam new to ios development and in my app i want to fetch data from remote server database to my application.please tell me how to do this. Thank you in advance.

Upvotes: 0

Views: 1653

Answers (3)

João Nunes
João Nunes

Reputation: 3761

You can use a REST API. Which is the best and fast. JSON is normally better than XML because is more compact.

you can also use this very light weightlib: JNRestClient

Upvotes: 0

manujmv
manujmv

Reputation: 6445

For that purpose, you can use webservice either JSON or XML. You can study about JSON parsing from the below link

http://www.raywenderlich.com/5492/working-with-json-in-ios-5

Upvotes: 2

Anupdas
Anupdas

Reputation: 10201

The usual practice is to expose some RESTful webservices which extend the data from database to a mobile application.

Upvotes: 1

Related Questions