[Interest] Is it possible to have a thread running in a Qt iOS app when the app is put in background?

Tor Arne Vestbø Tor.arne.Vestbo at qt.io
Mon Feb 19 11:45:50 CET 2024


Not out of the box.

You should be able to use https://developer.apple.com/documentation/backgroundtasks?language=objc though.

Cheers,
Tor Arne

On 19 Feb 2024, at 11:39, Nuno Santos via Interest <interest at qt-project.org> wrote:

Hi,

I have a music making app that allows to export the full song. This is an asynchronous process that can take several minutes and the user can start an export and decide to put the app in background in the mean time. At the time being, if he does this, the app will crash.

Is it possible to keep the thread running while the app is put in background?

Thanks!

Best,

Nuno
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240219/960d156a/attachment.htm>


More information about the Interest mailing list