IPhone Native App using PhoneGap and PHP

后端 未结 3 1501
难免孤独
难免孤独 2021-01-30 04:36

I want to develop an iPhone native app, that sync with a remote DB.Is it possible to develop this application using PhoneGap.If I use PhoneGap, how do I get data from an externa

3条回答
  •  星月不相逢
    2021-01-30 05:10

    PhoneGap allows you to run JavaScript and HTML applications on the iPhone. all your PHP code will have to reside in a remote server.

    To get data from the server you have to use the XMLHttpRequest object or something more user friendly like jquery's $.get() or $.post() functions.

提交回复
热议问题