xamarin/Xamarin.Forms

[Bug] [Xamarin.Forms] [iOS] DatePicker/TimePicker NullReferenceException on iOS 9.0

開放

#8,143 建立於 2019年10月22日

 (3 則留言) (0 個反應) (0 位負責人)C# (1,926 個分叉)batch import
help wantediOS 9inactives/unverifiedt/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Description

All works as expected on iOS versions higher than 10.0. But on iOS 9.0 DatePicker/TimePicker throws NullReferenceException.

Steps to Reproduce

  1. Create a Xamarin.Forms 4.2 project.
  2. Add DatePicker to any page.
  3. Run project on iPhone Simulator with iOS version 9.0.

Expected Behavior

App runs. Datepicker shows.

Actual Behavior

App crashes on start with NullReferenceException.

Basic Information

Version with issue: 4.2.x Visual Studio Enterprise 2017 Version 15.9.16 Xamarin.iOS Version: 12.4.0.64

Reproduction Link

https://github.com/TarasBounty/XamFormsDateTimePicker

貢獻者指南