Alexander Stolte Expert Licensed User Longtime User Jan 22, 2024 #1 How can i use this in B4I? BGProcessingTaskRequest | Apple Developer Documentation A request to launch your app in the background to execute a processing task that can take minutes to complete. developer.apple.com Thanks Alex
How can i use this in B4I? BGProcessingTaskRequest | Apple Developer Documentation A request to launch your app in the background to execute a processing task that can take minutes to complete. developer.apple.com Thanks Alex
Erel B4X founder Staff member Licensed User Longtime User Jan 23, 2024 #2 This will require writing a library or (probably easier) accessing it with NativeObject. This will create the object: B4X: Dim bg As NativeObject bg.Initialize("BGProcessingTaskRequest").RunMethod("alloc", Null).RunMethod("initWithIdentifier:", Array("identifier1")) Upvote 0
This will require writing a library or (probably easier) accessing it with NativeObject. This will create the object: B4X: Dim bg As NativeObject bg.Initialize("BGProcessingTaskRequest").RunMethod("alloc", Null).RunMethod("initWithIdentifier:", Array("identifier1"))