Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[iOS] Fix crash with TimePicker on iOS14 #12158

Merged
merged 6 commits into from
Sep 22, 2020
Merged

Conversation

rmarinho
Copy link
Member

Description of Change

Fix the TimePicker crash on iOS14 by forcing the PreferredDatePickerStyle to UIDatePickerStyle.Wheels.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Use Xcode12, iOS14 device, and Xamarin.iOS for IOS14.
Go to issue 11943, click on the date , make sure the time picker wheels appear and you able to select a time.

make sure it also works on iOS13

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@jsuarezruiz
Copy link
Contributor

ios14-timepicker

@samhouts samhouts added p/iOS 🍎 a/timepicker i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often iOS 14 t/bug 🐛 labels Sep 18, 2020
@rmarinho rmarinho merged commit fe09556 into 4.8.0 Sep 22, 2020
@rmarinho rmarinho deleted the fix-timepicker-ios14-xcode11 branch September 22, 2020 18:09
@samhouts samhouts added the approved Has two approvals, no pending reviews, and no changes requested label Sep 22, 2020
@samhouts samhouts modified the milestones: 5.0.0, 4.8.0 Oct 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/timepicker approved Has two approvals, no pending reviews, and no changes requested i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often iOS 14 p/iOS 🍎 t/bug 🐛
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants