Yes, it crash after a random number of presses of "Randomize & Select Last" but within the Xcode 14.0 and 14.1 latest beta on the iPad 12'' pro simulator with 16.1 beta. It doesn't happens with the iPad simulator with iPadOS 16.0.
It seems yet another bug. π€
Post
Replies
Boosts
Views
Activity
That fixes the crash. But now we get another one, randomly, after some tries of the "Randomize & Select Last" Button:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Focus item <SwiftUI.ListCollectionViewCell: 0x1390c1600> does not provide a parentFocusEnvironment.'
And also in the current 16.1 beta. π€
To anyone that has the same problem, please post it to radar/ feedback.
On my feedback it seems that no one has filled something similar.
It's a solution for macOS, but a bit hacky. Depending "com.apple.SwiftUI.search" seems dangerous.
Thanks @Dschee I'll try using SwiftUI-Introspect. However it should be provided by the SDK. It seems obvious.
Doesn't work.
In reality I had implemented it from the beginning but forgot to reference it here. Sorry...
My bad. The bug was not to fixed and still persists...