I'm very new to learning to code with Swift and develop for iOS (and coding in general), but I am having issues with this as well, as this seems to be preventing simple scheduled local notifications from appearing if I put an app in the background.
I'm in the process of learning to use User Notifications and was doing this very simple tutorial on IOSCreator.com. The simple gist of this tutorial is a Single View app with a single button that, when pressed, schedules a notification to appear with the defined content after 10 seconds. There is nothing in that which customizes the app lifecycle methods in AppDelegate or SceneDelegate. There is nothing about implementing any kinds of background tasks (which presumably weren't needed in previous versions of iOS, though I don't see how/why they'd be needed now). However, when you run the app, press the button, and go to the home screen, the same message appears in the debugger console, and the notification never appears, neither in the simulator nor on my iPhone running iOS 13.0.
Also, as frnkwk said in their original post, I can confirm that this message appears even on a blank Single View App template. I put print() calls in each of the AppDelegate and SceneDelegate methods so I could get a feel for the app lifecycle, and sure enough the message appears right after sceneDidEnterBackground() is called.
Is this a bug? Or do I need to be doing something very different in iOS 13 in order to make a simple notification appear after returning to the homescreen from an app?
Any help would be most appreciated. 🙂