Post

Replies

Boosts

Views

Activity

date picker in WKWebView on iOS 17 appear exception: CALayer bounds contains NaN ... _UIDatePickerOverlayPlatterView
Recently many users upgraded to iOS 17 and crashed when selecting a date on a web page, we got the following exception message: Exception NSException * "CALayer bounds contains NaN: [0 0; 320 nan]. Layer: <CALayer:0x28103d2c0; position = CGPoint (160 190.25); bounds = CGRect (0 0; 0 0); delegate = <_UIDatePickerOverlayPlatterView: 0x135ba5790; frame = (160 190.25; 0 0); transform = [0, 0, 0, 0, 0, 0]; layer = <CALayer: 0x28103d2c0>>; sublayers = (<CALayer: 0x28103de20>, <CALayer: 0x28103cb40>); opaque = YES; transform = CATransform3D (0 0 0 0; 0 0 0 0; 0 0 1 0; 0 0 0 1)>" 0x0000000281afec70
5
2
1.4k
Sep ’23
iOS 18 beta 5 WKWebView crash
Recently monitoring a lot of iOS 18 beta 5(22A5326f) crashes about WKWebView, anyone know how to fix it? OS Version: iPhone OS 18.0 (22A5326f) Report Version: 104 Exception Type: SIGABRT Exception Codes: #0 at 0x1d787e254 Crashed Thread: 0 Application Specific Information: *** Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds' Last Exception Backtrace: 0 CoreFoundation 0x000000018781c08c 0x187798000 + 540812 1 libobjc.A.dylib 0x0000000184b232e4 0x184b0c000 + 94948 2 Foundation 0x00000001864024cc 0x1863d0000 + 206028 3 WebKit 0x000000019db987a0 0x19cdc0000 + 14518176 4 WebKit 0x000000019db97fec 0x19cdc0000 + 14516204 5 UIKitCore 0x000000018af741e0 0x189f6c000 + 16810464 6 UIKitCore 0x000000018ac13518 0x189f6c000 + 13268248 7 UIKitCore 0x000000018a901050 0x189f6c000 + 10047568 8 UIKit 0x00000002404643f8 0x24044e000 + 91128 9 UIKitCore 0x000000018a9007e8 0x189f6c000 + 10045416 10 UIKitCore 0x000000018a920e38 0x189f6c000 + 10178104 11 UIKitCore 0x000000018a9040c4 0x189f6c000 + 10059972 12 UIKitCore 0x000000018a905040 0x189f6c000 + 10063936 13 UIKitCore 0x000000018a419834 0x189f6c000 + 4905012 14 UIKitCore 0x000000018a4196c8 0x189f6c000 + 4904648 15 Foundation 0x000000018647783c 0x1863d0000 + 686140 16 CoreFoundation 0x00000001877ef088 0x187798000 + 356488 17 CoreFoundation 0x00000001877ef01c 0x187798000 + 356380 18 CoreFoundation 0x00000001877ecb08 0x187798000 + 346888 19 CoreFoundation 0x00000001877ebd04 0x187798000 + 343300 20 CoreFoundation 0x00000001877eb5b8 0x187798000 + 341432 21 GraphicsServices 0x00000001d34f31c4 0x1d34f2000 + 4548 22 UIKitCore 0x000000018a34ada0 0x189f6c000 + 4058528 23 UIKitCore 0x000000018a3f917c 0x189f6c000 + 4772220 24 CMBMobile 0x000000010066f384 main + 4486020 (main.m:301) 25 ??? 0x00000001ad2e0d34 0x0 + 0
7
2
1.6k
Aug ’24