How To Fix Swift Error Unable To Activate Constraint With Anchors Because They Have No Common Ancestor & LayoutConstraints Unable To Simultaneously Satisfy Constraints
When i develop an iOS app, i add a UITextField in the app UI programmatically. And i also add some constraints to the UITextField object in swift source code to make it auto layout. But when i run the app, it throws an exception with error message ‘NSGenericException’, reason: ‘Unable to activate constraint with anchors, …