You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2021/01/05 10:28:22 UTC

[GitHub] [incubator-weex] ZhangHJ1002 commented on issue #3322: ios14 新版本 picker.pickDate 页面显示不出日期选择项

ZhangHJ1002 commented on issue #3322:
URL: https://github.com/apache/incubator-weex/issues/3322#issuecomment-754549504


   因为ios14改了datePicker的实现了 官方估计是不管了  去他的git库 把28版本的代码拉下来 修改一下 WXPickerModule.m文件
   ![截屏2021-01-05 18 27 13](https://user-images.githubusercontent.com/22254492/103635584-b7545700-4f83-11eb-8a18-e95c7547216b.png)
   
   
   添加这个ios14的datePicker配置
       if (@available(iOS 13.4, *)) {
           self.datePicker.preferredDatePickerStyle = UIDatePickerStyleWheels;
       } else {
           // Fallback on earlier versions
       }
   
   当然我推荐把他的代码拉到自己的github库里 在自己的github库里改 用把pod地址指向自己github库
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org