I have a flutter app which in android runs perfectly and in iOS it used to work too
I made a build and run on an iPad, it started the application properly but when I click on a textField it throws this error:
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:0x283112530 h=--& v=--& _UIButtonBarButton:0x1041a9660.height == 0 (active)",
"NSLayoutConstraint:0x283110cd0 V:|-(6)-[_UIUCBKBSelectionBackground:0x1041e3960] (active, names: '|':_UIButtonBarButton:0x1041a9660 )",
"NSLayoutConstraint:0x283113d40 _UIUCBKBSelectionBackground:0x1041e3960.bottom == _UIButtonBarButton:0x1041a9660.bottom - 6 (active)"
)
Will attempt to recover by breaking constraint
NSLayoutConstraint:0x283113d40 _UIUCBKBSelectionBackground:0x1041e3960.bottom == _UIButtonBarButton:0x1041a9660.bottom - 6 (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.
Any idea about what I have to do? I don't change any swift code except the AppDelegate to be able to receive push notifications, this problem will I have to change something in swift part or in flutter part?
1
0
1.1k