Captain_Frosty7
Captain_Frosty7

Reputation: 89

Connecting an iOS app to a database using Swift, SlimPHP and MySQL

I have a website setup, where users can register, and that data is stored into a database. My website is built using SlimPHP along with some other dependencies, such as twig. Is there a dependancy that I can use to help connect my iOS app to my database so users can log in? Or, how could I go about linking my app to the database. Thanks

Upvotes: 0

Views: 3702

Answers (1)

M Abdul Sami
M Abdul Sami

Reputation: 1541

You need to Develop a RestApi on your webserver and that Api will connect your app with Database you have. Then your app will need to interact with that RestApi. Here is a nice tutorial to connect swift IOS app with RestApi which return JSON response.

Upvotes: 1

Related Questions