Unable to make UICalendarSelectionSingleDateDelegate working on iOS 17.5 in my handler #26381
Unanswered
christophe-mommer
asked this question in
Q&A
Replies: 2 comments 3 replies
-
I can repro this issue at iOS platform on the latest 17.11.0 Preview 7.0( 8.0.80 & 8.0.71 & 8.0.61). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does this code work in a plain .NET for iOS app? I have not used this API, but it all looks like the code chat GPT wrote, so I am wondering if there is some other thing that is making it not work. Testing outside of MAUI may help. Are there any errors or warnings from iOS in the debug console? @brminnick do you know if selection worked in your tests? |
Beta Was this translation helpful? Give feedback.
3 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Description
I wrote a custom handler as a proof of concept to demonstrate the usage in iOS. I did the same for Android. No issue on Android side, but on iOS, I'm unable to make the selection fire.
You can find the source code to demonstrate the issue here : https://github.com/christophe-mommer/MAUICalendarHandlerBug
@brminnick this is the same code as your course published at Dometrain, but you didn't test the selection in the videos (and you forgot to link the selectiondelegate to the native component)
Steps to Reproduce
Put a breakpoint in "DidSelectDate" of the custom delegate, never fired when selecting a date in the app
Link to public reproduction project repository
No response
Version with bug
8.0.71 SR7.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions