Support long running background process on iOS

Hi there,

Does anyone knows how to create an app as a long running background process. I followed several tutorials to do it with swift, xcode and plist. But I cannot do it with MOE. Every 3 - 5 minutes, my program shut down.
Does anyone successfully done an interminable process using MOE?