# SendBirdUIKit.SBUMessageInputView layout warnings

**URL:** <https://community.sendbird.com/t/sendbirduikit-sbumessageinputview-layout-warnings/2925>\
**Category:** Sendbird Chat UIKit\
**Created:** [August 18, 2021, 4:19pm UTC](https://community.sendbird.com/t/sendbirduikit-sbumessageinputview-layout-warnings/2925 "2021-08-18T16:19:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pzmudzinski](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pzmudzinski](https://community.sendbird.com/u/pzmudzinski)\
**Post date:** [August 18, 2021, 4:19pm UTC](https://community.sendbird.com/t/sendbirduikit-sbumessageinputview-layout-warnings/2925/1 "2021-08-18T16:19:32Z")

</div>

SDK versions:

- SendBirdSDK (3.0.221)
- SendBirdUIKit (2.1.8)

> [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:0x600000da1ef0 UIView:0x7f8b257aa6d0.width == 0 (active)\>”,  
> “\<NSLayoutConstraint:0x600000da1680 UIStackView:0x7f8b2575d4c0.leading == UILayoutGuide:0x6000017408c0’UIViewSafeAreaLayoutGuide’.leading + 20 (active)\>”,  
> “\<NSLayoutConstraint:0x600000da1630 UIStackView:0x7f8b2575d4c0.trailing == UILayoutGuide:0x6000017408c0’UIViewSafeAreaLayoutGuide’.trailing - 16 (active)\>”,  
> “\<NSLayoutConstraint:0x600000d92530 H:|-(0)-SendBirdUIKit.SBUMessageInputView:0x7f8b25770d40 (active, names: ‘|’:UIView:0x7f8b2573baa0 )\>”,  
> “\<NSLayoutConstraint:0x600000d911d0 SendBirdUIKit.SBUMessageInputView:0x7f8b25770d40.right == UIView:0x7f8b2573baa0.right (active)\>”,  
> “\<NSLayoutConstraint:0x600000db48c0 ‘UISV-alignment’ UIView:0x7f8b257c5240.leading == UIView:0x7f8b257aa6d0.leading (active)\>”,  
> “\<NSLayoutConstraint:0x600000db4050 ‘UISV-alignment’ UIView:0x7f8b257c5240.trailing == UIView:0x7f8b257aa6d0.trailing (active)\>”,  
> “\<NSLayoutConstraint:0x600000db4960 ‘UISV-canvas-connection’ UIStackView:0x7f8b2575d4c0.leading == UIView:0x7f8b257c5240.leading (active)\>”,  
> “\<NSLayoutConstraint:0x600000db5310 ‘UISV-canvas-connection’ H:[UIView:0x7f8b257c5240]-(0)-| (active, names: ‘|’:UIStackView:0x7f8b2575d4c0 )\>”,  
> “\<NSLayoutConstraint:0x600000d8fde0 ‘UIView-Encapsulated-Layout-Width’ UIView:0x7f8b2573baa0.width == 390 (active)\>”,  
> “\<NSLayoutConstraint:0x600000da1220 ‘UIViewSafeAreaLayoutGuide-left’ H:|-(0)-UILayoutGuide:0x6000017408c0’UIViewSafeAreaLayoutGuide’ (active, names: ‘|’:SendBirdUIKit.SBUMessageInputView:0x7f8b25770d40 )\>”,  
> “\<NSLayoutConstraint:0x600000da1720 ‘UIViewSafeAreaLayoutGuide-right’ H:[UILayoutGuide:0x6000017408c0’UIViewSafeAreaLayoutGuide’]-(0)-|(LTR) (active, names: ‘|’:SendBirdUIKit.SBUMessageInputView:0x7f8b25770d40 )\>”  
> )
> 
> Will attempt to recover by breaking constraint  
> \<NSLayoutConstraint:0x600000da1ef0 UIView:0x7f8b257aa6d0.width == 0 (active)\>
> 
> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.  
> The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in \<UIKitCore/UIView.h\> may also be helpful.

---

<div class="post-metadata">

**Author:** ![omar.lopez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/omar.lopez/32/1537_2.png) [@omar.lopez](https://community.sendbird.com/u/omar.lopez)\
**Post date:** [August 18, 2021, 5:30pm UTC](https://community.sendbird.com/t/sendbirduikit-sbumessageinputview-layout-warnings/2925/2 "2021-08-18T17:30:51Z")

</div>

Make sure to fetch the latest changes, I’ve reported it and it got solved in this commit: [Removed unnecessary user defined inspected properties on Main.storyboard · sendbird/sendbird-uikit-ios-sources@0bbfb6b · GitHub](https://github.com/sendbird/sendbird-uikit-ios-sources/commit/0bbfb6b8f22d57c332288cab0f7e0679036c697f)

---

<div class="post-metadata">

**Author:** ![pzmudzinski](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pzmudzinski](https://community.sendbird.com/u/pzmudzinski)\
**Post date:** [September 13, 2021, 12:58pm UTC](https://community.sendbird.com/t/sendbirduikit-sbumessageinputview-layout-warnings/2925/3 "2021-09-13T12:58:16Z")

</div>

Updated to the latest one:

```auto
**(**

**"<NSAutoresizingMaskLayoutConstraint:0x600001db7930 h=--& v=--& SendBirdUIKit.SBUEmptyView:0x7fd156e3e2d0.width == 0 (active)>",**

**"<NSLayoutConstraint:0x600001dfe0d0 UIImageView:0x7fd156e3ea80.width == 60 (active)>",**

**"<NSLayoutConstraint:0x600001dfd180 UIStackView:0x7fd156e3e8f0.centerX == SendBirdUIKit.SBUEmptyView:0x7fd156e3e2d0.centerX (active)>",**

**"<NSLayoutConstraint:0x600001dfdc20 UIStackView:0x7fd156e3e8f0.leading == UILayoutGuide:0x6000007febc0'UIViewSafeAreaLayoutGuide'.leading (active)>",**

**"<NSLayoutConstraint:0x600001d43de0 'UISV-canvas-connection' UIStackView:0x7fd156e3e8f0.leading == _UILayoutSpacer:0x6000001c53b0'UISV-alignment-spanner'.leading (active)>",**

**"<NSLayoutConstraint:0x600001d43d90 'UISV-canvas-connection' UIStackView:0x7fd156e3e8f0.centerX == UIImageView:0x7fd156e3ea80.centerX (active)>",**

**"<NSLayoutConstraint:0x600001d43b60 'UISV-spanning-boundary' _UILayoutSpacer:0x6000001c53b0'UISV-alignment-spanner'.leading <= UIImageView:0x7fd156e3ea80.leading (active)>",**

**"<NSLayoutConstraint:0x600001dfd950 'UIViewSafeAreaLayoutGuide-left' H:|-(0)-[UILayoutGuide:0x6000007febc0'UIViewSafeAreaLayoutGuide'](LTR) (active, names: '|':SendBirdUIKit.SBUEmptyView:0x7fd156e3e2d0 )>"**

**)**

**Will attempt to recover by breaking constraint**

**<NSLayoutConstraint:0x600001dfe0d0 UIImageView:0x7fd156e3ea80.width == 60 (active)>**

```
