Home > Net >  Android Intent.SetFlags() task management in IOS
Android Intent.SetFlags() task management in IOS

Time:12-20

I'm new to IOS and I'm trying to find an equivalent way of task management in Android which looks like this.

Intent intent = new Intent(this, typeof(activity));
intent.SetFlags(ActivityFlags.NewTask | ActivityFlags.ClearTask);
StartActivity(intent);

Any suggestions on what to look for?

CodePudding user response:

For ios, you can try iOS Backgrounding,The simplest way to perform backgrounding on iOS is to break your backgrounding requirements into tasks, and run the tasks in the background.

Here is a xamarin document which you can get more detail https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/backgrounding/ios-backgrounding-techniques/ios-backgrounding-with-tasks

  • Related