muak / AiForms.Effects

AiForms.Effects for Xamarin.Forms
MIT License
245 stars 27 forks source link

AddDatePicker crashes on old iOS versions #65

Closed alexpetin closed 4 years ago

alexpetin commented 4 years ago

Description

Starting release 1.6.9 using of AddDatePicker crashes app on old iOS versions with:

Foundation.MonoTouchException: 'Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UIDatePicker setPreferredDatePickerStyle:]: unrecognized selector sent

Tried iOS 10.3, 11.2.6...

Steps to Reproduce

  1. Use AddDatePicker on page
  2. Start app on iOS 10.3
  3. See the crash

Expected Behavior

No crash

Actual Behavior

Crash

Platforms

Basic Information

Screenshots

Reproduction Link

Workaround

No workaround. Prev. versions has AddDatePicker problem with iOS 14, 1.6.9 - with prev. iOS versions :(

muak commented 4 years ago

@alexpetin Thank you for your report.

This issue was fixed.