iOS Question App running in background

electro179

Active Member
Licensed User
Longtime User
The app can it continue to receive and send the udp packet if it is in background.

I try with

B4X:
#PlistExtra: <key>UIBackgroundModes</key><array><string>fetch</string></array>



Private Sub Application_FetchDownload
   Log("FetchDownload")
   Dim ln As Notification
   ln.Initialize(DateTime.Now)
   ln.AlertBody = "Fetch download..."
   ln.PlaySound = True
   ln.Register

   Dim no As NativeObject = App
   no = no.GetField("delegate")
   no.RunMethod("completeFetch:", Array(0))
End Sub


I don't understand how does it work.
Somebody canI explain me ?


I need that the app never stops

Thank you
 
Top