如何将mysql连接到目标c? [英] How to connect mysql to objective c?

查看:51
本文介绍了如何将mysql连接到目标c?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 login.php 登录名和 signup.php 组合.我想在我的应用程序中显示一个表单,该表单将存储用户数据并在登录后显示独占视图,就像经典的登录/注册组合一样.如何将我的 mysql 数据库连接到我的应用程序?我会在这里使用 json 还是 plists 或两者兼而有之?

I have a login.php login and signup.php combo. I want to display a form in my app that will store user data and show exclusive views after sign in like a classic login/sign up combo. How do I connect my mysql database to my app? Will i be using json here or plists or both?

推荐答案

您将需要编写一个 Web 服务并以这种方式连接到它.这是一个很棒的教程的链接,可以准确了解您所描述的内容

You will need to write a web service and connect to it this way. Here's a link to a great tutorial for exactly what you're describing

如何为 iOS 应用编写简单的 PHP/MySQL Web 服务

希望这会有所帮助.

这篇关于如何将mysql连接到目标c?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆