Lets not forget iPhone vendor lock in that specifically slows down or entirely closes background connections for all other vendors except Apple. So syncing files with Nextcloud or any other app except Apple cloud is an exercise in undocumented futility.
You can put it as a front application and wait (if corporate hasn’t forced a screen turning off timeout)
You can put it as a front application and wait (if corporate hasn’t forced a screen turning off timeout)