Follow this guide to fetch Tawseela data from your Swift on iOS app. The URLSession library will be used to fetch the database data through its REST API.
First you need to connect your app to the Tawseela database. It will authorize you to access this database API using your app keys. If your app doesn't have keys at Back4App yet, they will be generated during this process.
Now let's customize your query to fetch the data that you need!
Add the following code to your Swift on iOS app (the Xcode Playground is a good place to try it out):
After executing your app, you should see the following output in your Xcode debug console: