Hi everyone,
while testing my app on iOS 26, I encountered a crash that seems to be caused by a conflict between CustomListView and ToolBarButtons.
I’ve created a minimal project that reliably reproduces the issue (attached).
The sample project contains 2 pages:
Any Idea?
Attached the sample project
Thanks
while testing my app on iOS 26, I encountered a crash that seems to be caused by a conflict between CustomListView and ToolBarButtons.
I’ve created a minimal project that reliably reproduces the issue (attached).
The sample project contains 2 pages:
- PageMain
– Has a ToolBarButton
– Contains a button that opens the second page - PageLocList
– Has a ToolBarButton
– Contains a CustomListView
The crash DOES NOT happen if:
- I remove the ToolBarButton from PageMain, or
- I remove the ToolBarButton from PageLocList, or
- I remove the CustomListView from PageLocList
Crash (only on iOS26):
Error occurred on line: 32 (Main)
Expected: B4IPanelView, object type: _UITouchPassthroughView
Stack Trace: (
CoreFoundation __exceptionPreprocess + 172
libobjc.A.dylib objc_exception_throw + 72
CoreFoundation -[NSException initWithCoder:] + 0
test -[B4IObjectWrapper setObject:] + 128
test -[B4IScrollView Panel] + 136
test -[B4IScrollView setContentWidth:] + 116
test -[B4XViewWrapper setScrollViewContentWidth:] + 40
test -[b4i_customlistview _base_resize::] + 356
CoreFoundation __invoking___ + 144
CoreFoundation -[NSInvocation invoke] + 276
test +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 776
test -[B4I raiseEvent:event:params:] + 292
test +[B4IObjectWrapper raiseEvent:::] + 168
test __30-[B4IPanelView layoutSubviews]_block_invoke + 468
libdispatch.dylib _dispatch_call_block_and_release + 24
libdispatch.dylib _dispatch_client_callout + 12
libdispatch.dylib _dispatch_main_queue_drain.cold.7 + 24
libdispatch.dylib _dispatch_main_queue_drain + 1184
libdispatch.dylib _dispatch_main_queue_callback_4CF + 40
CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
CoreFoundation __CFRunLoopRun + 1884
CoreFoundation _CFRunLoopRunSpecificWithOptions + 496
GraphicsServices GSEventRunModal + 116
UIKitCore -[UIApplication _run] + 772
UIKitCore UIApplicationMain + 124
test main + 96
dyld start_sim + 20
??? 0x0 + 4313009492
)
SignalHandler 6
Any Idea?
Attached the sample project
Thanks