How can we override iOS's UIApplicationDelegate events with Uno's project structure? #10663
-
I want to run some background tasks when the application is moved to the background through overriding In Xamarin.iOS:
Replacing this delegate with Uno's App class removes the inheritance, while making the default app inherit from UiApplication naturally breaks cross-platform availability. Is there a recommended approach for this? |
Beta Was this translation helpful? Give feedback.
Answered by
jeromelaban
Dec 6, 2022
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abenadar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
App.xaml.cs
App
class inherits fromUIApplicationDelegate
on iOS, you can use platform specific code to place it in the App.xaml.cs.