You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library in SwiftUI but there seems to be an issue. When I present the picker, nothing is shown. I set breakpoint and cellForRowAtIndexPath is never called.
@johnswifttt I faced same issue. For some reason the PickerView really wants to collapse to zero size. TableView doesn't call the cell for row if it's too small to display it.
The quick fix is adding var builtConstraints: Bool = false to coordinator and
I'm trying to use this library in SwiftUI but there seems to be an issue. When I present the picker, nothing is shown. I set breakpoint and
cellForRowAtIndexPath
is never called.I searched online and another person is having the same exact issue: https://stackoverflow.com/questions/57297895/swiftui-uitableview-cellforrowatindexpath-never-called-in-uiviewrepresentable
Here is the code in StackOverflow that is very similar to mine that doesn't work:
Could you please help out with this?
The text was updated successfully, but these errors were encountered: