【问题标题】:Ion-slides not displayed correctly on some iOS devices在某些 iOS 设备上无法正确显示离子载玻片
【发布时间】:2021-12-05 21:06:07
【问题描述】:

我正在尝试将我的应用上传到 App Store,但在某些 iOS 设备中,离子滑梯无法正确显示。

好像是IOS版本的问题。

糟糕 - 第 9 代 iPad (iOS 15.0) iPad(第 9 代) iPad(第 9 代) enter image description here 不好 - iPad Air 第 4 代 (iOS 15.0) iPad Air(第 4 代) iPad Air(第 4 代) enter image description here 好的 - iPadPro 11 英寸 (iOS 12.4) iPadPro 11 英寸 12.4 iPadPro 11 英寸 12.4 enter image description here 有人知道为什么会这样吗?

【问题讨论】:

    标签: ios angular ionic-framework


    【解决方案1】:

    根据我的经验,ion-slides 从来没有 100% 好用过。我不得不从一些项目中删除它,但它从来没有表现得像预期的那样(特别是在 iOS 中)。事实上,ionic 在版本 6 中已弃用它:

    随着 Ionic Framework v6 的发布,Ionic 团队已弃用 ion-slides 和 ion-slide 组件支持使用官方 Swiper 提供的框架集成。

    (引用自https://ionicframework.com/docs/api/slides

    我建议您转到swipperjs(实际上是在ion-slides 下运行的)。工作量很大,但比试图驯服ion-slides 要少。

    祝你好运!

    【讨论】:

      猜你喜欢
      • 2021-01-26
      • 2017-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-30
      • 1970-01-01
      • 2014-08-17
      • 2020-05-29
      相关资源
      最近更新 更多