ScrollUISegmentController icon indicating copy to clipboard operation
ScrollUISegmentController copied to clipboard

Constraint issue in swift4

Open udayBabariya opened this issue 7 years ago • 0 comments

[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x604000093830 h=--& v=--& UISegmentedControl:0x7fdcb251beb0.midX == 500   (active)>",
    "<NSLayoutConstraint:0x604000092c00 UISegmentedControl:0x7fdcb251beb0.centerX == ScrollUISegmentController.ScrollUISegmentController:0x7fdcb3009e00.centerX   (active)>",
    "<NSAutoresizingMaskLayoutConstraint:0x6040000936f0 h=--- v=--- '_UITemporaryLayoutLeft' ScrollUISegmentController.ScrollUISegmentController:0x7fdcb3009e00.minX == 0   (active)>",
    "<NSLayoutConstraint:0x6040000935b0 '_UITemporaryLayoutWidth' ScrollUISegmentController.ScrollUISegmentController:0x7fdcb3009e00.width == 355   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x604000092c00 UISegmentedControl:0x7fdcb251beb0.centerX == ScrollUISegmentController.ScrollUISegmentController:0x7fdcb3009e00.centerX   (active)>

udayBabariya avatar Sep 11 '18 07:09 udayBabariya