ios - 网站在iOS中的Safari上崩溃

标签 ios iphone responsive-design safari ios9.3.2

我们在客户的网站上存在一个复杂的问题。该网站在iPhone 6 Plus的iOS 9.3.2上崩溃。但是,它不会在最新版本的iOS上崩溃,甚至不会在具有iOS 9.3.1的iPhone 6上崩溃。

如何重现该错误:

  • 使用iPhone 6(或iPhone 6 Plus)打开网站:
    http://www.kindervorhang.ch/Vorhaenge-fixfertig-Verdunkler-Ellie
  • 轻按“In den Warenkorb”,将产品添加到购物篮中
  • 现在,如果您滚动网站或更改方向,它将使
  • 崩溃
  • 现在,如果您触摸或滚动一点,它将再次崩溃,直到看到全屏错误描述

  • 有没有人有一个较小的问题,或者现在如何解决?

    我在Xcode中收到此错误代码:
    May 10 12:43:56 ASs-iPhone diagnosticd[88] <Error>: unable to find offset 0x804cf98c in shared cache for arch 'arm64'
    May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: platform_task_update_threads failed 1
    May 10 12:43:56 ASs-iPhone ReportCrash[703] <Notice>: Formulating report for process[699] com.apple.WebKit.WebContent
    May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3
    May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: 
    May 10 12:43:56 ASs-iPhone assertiond[67] <Error>: assertion failed: 13F69: assertiond + 72572 [0B862A7D-6E8B-3778-AD17-C7694ECD5BCD]: 0x3
    May 10 12:43:56 ASs-iPhone Unknown[67] <Error>: 
    May 10 12:43:56 ASs-iPhone UserEventAgent[26] <Notice>: jetsam: kernel termination snapshot being created
    May 10 12:43:56 ASs-iPhone ReportCrash[703] <Warning>: report not saved because it is non-actionable
    May 10 12:43:56 ASs-iPhone com.apple.xpc.launchd[1] <Error>: assertion failed: 13F69: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3
    May 10 12:43:56 ASs-iPhone ReportCrash[704] <Warning>: Report of type '298(298)' not saved because the limit of 25 logs has been reached
    

    最佳答案

    我整整花了整整一个类似的问题。我的网站在iPad 3和iPhone 5上加载时崩溃了。我最终将其范围缩小为CSS属性:

    #cv-section-header   {
        overflow-x: hidden;
    }
    

    很难相信CSS属性会导致网站在较旧的iOS上崩溃,但这就是事实。

    关于ios - 网站在iOS中的Safari上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43890764/

    相关文章:

    ios - UITableViewCell detailTextLabel 未显示

    iphone - 在您的钥匙串(keychain)中找不到与此配置文件匹配的有效签名身份

    jquery - 使用 jQuery 动态调整三列设计

    iphone - 当 iPhone 垂直时,CMDeviceMotion 偏航值不稳定

    ios - 如何仅存储没有时区和实际时间的日期

    php - Java 容器的 div 中的响应式绝对值

    javascript - 在窗口大小调整时重新计算和重新定位元素

    iphone - 验证以 # 符号开头的 NSString

    ios - 将 Assistant V1 MessageResponse 解析为 JSON

    ios - 控制台输出中的 lldb 错误,无法获得正确的结果