iOS Background Modes Testing background fetch


1- Run the app on a real device and attach it to Xcode debugger.

2- From Debug menu, select Simulate Background Fetch:

enter image description here

3- Now Xcode will pause the app with SIGSTOP signal. Just tap the continue button to let the app do the background fetch.

enter image description here

Now you will see that data is fetched and ready for you.