Hi I have problem with integration my Custom control to Interface builder.
What I want to do is custom view that have four button in custom control without stack view.
I already set need constraints but storyboard can’t render it.
Do I need to set content hugging and content compress?
Update:
I found the problem is that I can’t load image for set image button when initial button.
Do oy have the way to solve it?
Hey Folks, very nice tutorial. I am really enjoying watching and learning it.
when you demoed the print statement. I saw you guys don’t have this constraint warning that I am having.
2017-06-22 00:52:56.086382-0500 deluxButton[10524:1583463] [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.
(
“<NSLayoutConstraint:0x608000099280 deluxButton.DeluxButton:0x7fdb47e142d0.height == 200 (active)>”,
“<NSLayoutConstraint:0x608000099fa0 UILabel:0x7fdb47c08280’Launch Me !!'.height == 0.3*deluxButton.DeluxButton:0x7fdb47e142d0.height (active)>”,
“<NSLayoutConstraint:0x600000095b80 ‘UISV-hiding’ UILabel:0x7fdb47c08280’Launch Me !!'.height == 0 (active)>”
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000095b80 'UISV-hiding' UILabel:0x7fdb47c08280'Launch Me !!'.height == 0 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Can you guys please help me out. as I am having hard time to get to the root. thanks