I'm coding a SwiftUI app in the Xcode. But i have a problem. I can't connect MySQL database in the app. How to connect MySQL database?
I tried to print the mysql result on the screen by writing a php code to the website and Swift would get data from it. But that didn't work either.