Accessing a database in Xcode

与世无争的帅哥 提交于 2019-12-12 01:34:01

问题


What is the best way to access a database in Xcode? I am attempting to build an app that requires people to login with correct credentials and get certain data from the server and display it in the app.

Is there a way to write SQL in Xcode without it underlining red? To login would I access the php file with the login script? I am not asking how, I just want some advice and some useful tips and pointers in the right direction/any useful resources for what I am trying to do?

Thanks for your time


回答1:


Yes, you can add the php file along with xcode and write the select query inside php file. in xcode create a server connection using post and provide the path of your php file



来源:https://stackoverflow.com/questions/13671543/accessing-a-database-in-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!