You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I had a piece of code in Xamarin.Forms that was detecting if user has touched the screen to register the last user interaction with the screen. I am now migrating everything to NET MAUI 8 but the code I had in AppDelegate is no longer functioning.
[Export("gestureRecognizer:shouldReceiveTouch:")]
public bool ShouldReceiveTouch(UIGestureRecognizer gestureRecognizer, UITouch touch)
{
// Register last user interaction time
return false;
}
Does anyone happen to know if the protocols are still functional in MAUI and why this is not working anymore?
P.S. I also tried to get the window in the scene in app delegate in the finished launching function override, but it is not set at that point.
Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I had a piece of code in Xamarin.Forms that was detecting if user has touched the screen to register the last user interaction with the screen. I am now migrating everything to NET MAUI 8 but the code I had in AppDelegate is no longer functioning.
Does anyone happen to know if the protocols are still functional in MAUI and why this is not working anymore?
P.S. I also tried to get the window in the scene in app delegate in the finished launching function override, but it is not set at that point.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions