Hopefully my last question of you guys this week. I'm porting some B4A code and I have a very horrible work around for anytime an error occurs or when I need to force an update that closes out the activity. I'm not 100% sure why I had to implement it this way in B4A, but it's there none the less. I was wondering if there was an option to force exit an iOS app? The code I used in B4A was
but naturally that doesn't work for iOS. I just need someway to exit the application and preferably have the OS get rid of it.
B4X:
Dim jo As JavaObject
jo.InitializeContext
jo.RunMethod("finishAffinity", Null)
but naturally that doesn't work for iOS. I just need someway to exit the application and preferably have the OS get rid of it.