app crash on iOS 16.1 and iOS 16.0 when using "navigationItem.setRightBarButtonItems"

this is full stack:

0 libobjc.A.dylib_objc_msgSend + 32

1 UIKitCore -[_UINavigationBarContentViewLayout _newButtonBar] + 48

2 UIKitCore -[_UINavigationBarContentViewLayout trailingBar] + 68

3 UIKitCore -[_UINavigationBarContentViewLayout _updateTrailingBarConstraints] + 80

4 UIKitCore -[_UINavigationBarContentViewLayout setTrailingGroupsEnabled:] + 60

5 UIKitCore -[_UINavigationBarContentView _setupTrailingButtonBarAnimated:] + 236

6 UIKitCore -[_UINavigationBarContentView updateContentAnimated:] + 124

7 UIKitCore -[_UINavigationBarVisualProviderModernIOS navigationItemUpdatedRightBarButtonItems:animated:] + 116

9 UIKitCore -[UINavigationItem setRightBarButtonItems:animated:] + 256

I also have this problem. Is there a solution?

app crash on iOS 16.1 and iOS 16.0 when using "navigationItem.setRightBarButtonItems"
 
 
Q