WordPress REST API suddenly stopped working with my iOS app

[ad_1]

I have a pretty basic SwiftUI app that pulls and natively displays WP posts on the home view. Suddenly yesterday it stopped showing posts, which I at first thought was related to the iOS update, until it happened to users running iOS 16. I changed out the API URL in my app to another site I work on, and a third party site and it still behaves irregularly.

Previously I had issued with the API not refreshing so I changed the SiteGround optimizer plugin to exclude the API from caching. I also visited the API link directly (/wp-json/wp/v2/) and it seems to display exactly how it should be.

Any ideas on what could have went wrong? I have fully ruled out a front end issue on my app since it works with other sites.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer