Skip to content

Autolayout Issues with SwiftUI Usage #43

@Mozahler

Description

@Mozahler

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions