Open Mozahler opened 3 years ago
Thanks for submitting such a clear issue to check. I'm afraid I'm not able to solve the issue either.
Sure! The transitions between core UIKit and SwiftUI can be mysterious (under-documented). I wouldn't be surprised if everything worked correctly after some future iOS release/update.
When using SPM and a barebones project I get auto layout warnings.
When I set uiView.translatesAutoresizingMaskIntoConstraints to false in MultiSegmentPicker.init() the project runs fine without warnings or errors. But if I debug the ViewHierarchy there is a warning due to ambiguous contraints. I have opened a question on StackOverflow regarding this issue in which I documented the process and provided screen shots.
StackOverflow Issue
If I get any useful response from anyone there, I will post it here.