Replies: 1 comment 1 reply
-
You can either
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I am currently porting an older Xamarin iOS application over to the MAUI 9 platform, and it is my understanding that the custom renderer feature in Xamarin has been deprecated in favour of the new handler approach in MAUI.
Presently, this application makes heavy use of Xamarin custom renderers to access key events in the iOS lifecycle:
We attach specific low-level iOS code to these events for the various application screens. These events are readily accessible via Xamarin renders, but this accessibility appears to be missing with MAUI handlers. Nearly all handler documentation is in regard to extending the base MAUI controls for customization - Entry, DatePicker etc - but nothing regarding how to access and override the platform-specific lifecycle events.
So my question is two-fold:
Can we access the aforementioned iOS lifecycle events through a MAUI handler?
If not, what is the 'proper' approach in MAUI to access and override these events for iOS v18?
The application will be extended to also work for Android v16 in the near future, so I expect we will need a means to access the equivalent underlying lifecycle events for this platform as well.
This question may be somewhat related to the following issues:
#30
#10126
#14430
#25148
For completeness, I am using Visual Studio Code under MacOS Sequoia 15.5 with the .NET 9 framework and following workflows installed:
Installed Workload Id | Manifest Version | Installation Source
maui | 9.0.51/9.0.100 | SDK 9.0.300
Any guidance or code samples will be greatly appreciated. Thank you!
Cheers,
Parmjit V.
Beta Was this translation helpful? Give feedback.
All reactions