Removes the specified layout guide from the view.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The layout guide to be removed.
This method removes the layout guide from the view’s
layoutGuides array and sets the guide’s
owningView property to
nil. It also removes any constraints to the layout guide.
Layout guides cannot participate in Auto Layout constraints unless they are added to a view in the view hierarchy.
Working with Layout Guides
The array of layout guide objects owned by this view.