0

I'm new to iphone development. I currently have an app on windows mobile that uses a local database on the device (sqlce) and the app is able to synchronize the data between the device and a remote database through a web service using microsoft sync framework.

Is this requirement feasible on an iphone app? Id like to build a version of my app on the iphone. I see that the iphone can use sqlite for storage on the device.

But does the sdk have something for data synchronization?

4

1 回答 1

1

不,您必须使用 JSON 或 XML 通过 NSURLConnection 从远程服务器获取数据并编写代码以同步 iPhone 上的 sqlite db。iphone 有很多 JSON 框架,对于 XML 路由,您可以使用 NSXMLParser。

于 2010-10-20T16:12:28.633 回答