HomeiOS DevelopmentConstraints set programmatically aren't being honored

Constraints set programmatically aren’t being honored


This can be a lengthy shot however I am asking right here anyhow. I’ve a view that’s shifted down regardless of having a constraint set on it relative to the view above that’s 0:

Constraints set programmatically aren’t being honored.
You are trying on the views in query by way of the debugger when the app is working.
The issue is the lengthy constraint linked to the message bubble isn’t honored for some motive that I do not perceive and the view is shifted down. There are not any conflicting constraint points that I see within the console. The small vertical constraint on the left of the sq. view is not the trigger because it’s for a hidden view that does not vertically constrain the big sq.. When you have further clarifying questions be at liberty to ask. Any concepts?

right here is the road creating the constraint (I activate it shortly under that):

planningSessionTop = planningSessionVC.view.topAnchor.constraint(equalTo: messageBubble.bottomAnchor, fixed: 0)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments