ошибка, когда моя таблица превышает размер iPhone - PullRequest
0 голосов
/ 04 февраля 2020

Я получаю следующую ошибку, когда мой список предметов превышает размер iPhone аукциона, требующего прокрутки, более того, переход сегмента оставляет мне большое бесполезное пространство из-за моей предыдущей страницы, которая использует большой заголовок.

EXC_BAD_INSTRUCTION (код = EXC_I386_INVOP, субкод = 0x0)

Ниже приведен вид таблицы

TableView

Ниже приведена раскадровка

Storyboard

Я не знаю, есть ли ошибка в раскадровке или в коде.

[log Xcode error] 3

Журналы:

 2020-02-04 14:55:14.446537+0100 FestFood[73741:17673998]  - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-02-04 14:55:15.041336+0100 FestFood[73741:17673996] 6.14.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60107000 started
2020-02-04 14:55:15.041647+0100 FestFood[73741:17673996] 6.14.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled 
2020-02-04 14:55:15.754443+0100 FestFood[73741:17673823] [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:0x280837a70 UIView:0x1046d6910.width == 2.49333*UIView:0x1046d6910.height - 74.8   (active)>",
    "<NSLayoutConstraint:0x28082f250 UIView:0x1046d6910.bottom == UITableViewCellContentView:0x1046d6570.bottomMargin   (active)>",
    "<NSLayoutConstraint:0x28082c500 UIView:0x1046d6910.trailing == UITableViewCellContentView:0x1046d6570.trailingMargin   (active)>",
    "<NSLayoutConstraint:0x28082c140 UIView:0x1046d6910.leading == UITableViewCellContentView:0x1046d6570.leadingMargin   (active)>",
    "<NSLayoutConstraint:0x28082c190 UIView:0x1046d6910.top == UITableViewCellContentView:0x1046d6570.topMargin   (active)>",
    "<NSLayoutConstraint:0x28082caf0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x2812010a0'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':UITableViewCellContentView:0x1046d6570 )>",
    "<NSLayoutConstraint:0x28081bf20 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x1046d6570.height == 202.333   (active)>",
    "<NSLayoutConstraint:0x28081e940 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x1046d6570.width == 414   (active)>",
    "<NSLayoutConstraint:0x28082c410 'UIView-leftMargin-guide-constraint' H:|-(20)-[UILayoutGuide:0x2812010a0'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':UITableViewCellContentView:0x1046d6570 )>",
    "<NSLayoutConstraint:0x28082caa0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x2812010a0'UIViewLayoutMarginsGuide']-(20)-|(LTR)   (active, names: '|':UITableViewCellContentView:0x1046d6570 )>",
    "<NSLayoutConstraint:0x28082c780 'UIView-topMargin-guide-constraint' V:|-(11)-[UILayoutGuide:0x2812010a0'UIViewLayoutMarginsGuide']   (active, names: '|':UITableViewCellContentView:0x1046d6570 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x280837a70 UIView:0x1046d6910.width == 2.49333*UIView:0x1046d6910.height - 74.8   (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.
2020-02-04 14:55:15.777510+0100 FestFood[73741:17673823] [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:0x280824910 UIView:0x10479c640.width == 2.49333*UIView:0x10479c640.height - 74.8   (active)>",
    "<NSLayoutConstraint:0x28082c690 UIView:0x10479c640.bottom == UITableViewCellContentView:0x10479cf10.bottomMargin   (active)>",
    "<NSLayoutConstraint:0x28082d180 UIView:0x10479c640.trailing == UITableViewCellContentView:0x10479cf10.trailingMargin   (active)>",
    "<NSLayoutConstraint:0x28082ca00 UIView:0x10479c640.leading == UITableViewCellContentView:0x10479cf10.leadingMargin   (active)>",
    "<NSLayoutConstraint:0x28082c3c0 UIView:0x10479c640.top == UITableViewCellContentView:0x10479cf10.topMargin   (active)>",
    "<NSLayoutConstraint:0x280833700 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x281203020'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':UITableViewCellContentView:0x10479cf10 )>",
    "<NSLayoutConstraint:0x280838190 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x10479cf10.height == 202.333   (active)>",
    "<NSLayoutConstraint:0x280838140 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x10479cf10.width == 414   (active)>",
    "<NSLayoutConstraint:0x280833980 'UIView-leftMargin-guide-constraint' H:|-(20)-[UILayoutGuide:0x281203020'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':UITableViewCellContentView:0x10479cf10 )>",
    "<NSLayoutConstraint:0x280833cf0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281203020'UIViewLayoutMarginsGuide']-(20)-|(LTR)   (active, names: '|':UITableViewCellContentView:0x10479cf10 )>",
    "<NSLayoutConstraint:0x28082c320 'UIView-topMargin-guide-constraint' V:|-(11)-[UILayoutGuide:0x281203020'UIViewLayoutMarginsGuide']   (active, names: '|':UITableViewCellContentView:0x10479cf10 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x280824910 UIView:0x10479c640.width == 2.49333*UIView:0x10479c640.height - 74.8   (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.
2020-02-04 14:55:15.811057+0100 FestFood[73741:17673823] [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:0x28083e080 UIView:0x1047a2c20.width == 2.49333*UIView:0x1047a2c20.height - 74.8   (active)>",
    "<NSLayoutConstraint:0x28083e260 UIView:0x1047a2c20.bottom == UITableViewCellContentView:0x1047a1170.bottomMargin   (active)>",
    "<NSLayoutConstraint:0x28083e2b0 UIView:0x1047a2c20.trailing == UITableViewCellContentView:0x1047a1170.trailingMargin   (active)>",
    "<NSLayoutConstraint:0x28083e300 UIView:0x1047a2c20.leading == UITableViewCellContentView:0x1047a1170.leadingMargin   (active)>",
    "<NSLayoutConstraint:0x28083e350 UIView:0x1047a2c20.top == UITableViewCellContentView:0x1047a1170.topMargin   (active)>",
    "<NSLayoutConstraint:0x28083e440 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x28120cc40'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':UITableViewCellContentView:0x1047a1170 )>",
    "<NSLayoutConstraint:0x28083e8a0 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x1047a1170.height == 202.333   (active)>",
    "<NSLayoutConstraint:0x28083e850 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x1047a1170.width == 414   (active)>",
    "<NSLayoutConstraint:0x28083e3f0 'UIView-leftMargin-guide-constraint' H:|-(20)-[UILayoutGuide:0x28120cc40'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':UITableViewCellContentView:0x1047a1170 )>",
    "<NSLayoutConstraint:0x28083e490 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x28120cc40'UIViewLayoutMarginsGuide']-(20)-|(LTR)   (active, names: '|':UITableViewCellContentView:0x1047a1170 )>",
    "<NSLayoutConstraint:0x28083e3a0 'UIView-topMargin-guide-constraint' V:|-(11)-[UILayoutGuide:0x28120cc40'UIViewLayoutMarginsGuide']   (active, names: '|':UITableViewCellContentView:0x1047a1170 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x28083e080 UIView:0x1047a2c20.width == 2.49333*UIView:0x1047a2c20.height - 74.8   (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.
2020-02-04 14:55:15.900579+0100 FestFood[73741:17673823] [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:0x2808391d0 UIView:0x1047a4650.width == 2.49333*UIView:0x1047a4650.height - 74.8   (active)>",
    "<NSLayoutConstraint:0x280839450 UIView:0x1047a4650.bottom == UITableViewCellContentView:0x1047a33b0.bottomMargin   (active)>",
    "<NSLayoutConstraint:0x2808394a0 UIView:0x1047a4650.trailing == UITableViewCellContentView:0x1047a33b0.trailingMargin   (active)>",
    "<NSLayoutConstraint:0x2808394f0 UIView:0x1047a4650.leading == UITableViewCellContentView:0x1047a33b0.leadingMargin   (active)>",
    "<NSLayoutConstraint:0x280839540 UIView:0x1047a4650.top == UITableViewCellContentView:0x1047a33b0.topMargin   (active)>",
    "<NSLayoutConstraint:0x280839630 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x281201260'UIViewLayoutMarginsGuide']-(11)-|   (active, names: '|':UITableViewCellContentView:0x1047a33b0 )>",
    "<NSLayoutConstraint:0x280839900 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x1047a33b0.height == 202.333   (active)>",
    "<NSLayoutConstraint:0x2808398b0 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x1047a33b0.width == 414   (active)>",
    "<NSLayoutConstraint:0x2808395e0 'UIView-leftMargin-guide-constraint' H:|-(20)-[UILayoutGuide:0x281201260'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':UITableViewCellContentView:0x1047a33b0 )>",
    "<NSLayoutConstraint:0x280839680 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281201260'UIViewLayoutMarginsGuide']-(20)-|(LTR)   (active, names: '|':UITableViewCellContentView:0x1047a33b0 )>",
    "<NSLayoutConstraint:0x280839590 'UIView-topMargin-guide-constraint' V:|-(11)-[UILayoutGuide:0x281201260'UIViewLayoutMarginsGuide']   (active, names: '|':UITableViewCellContentView:0x1047a33b0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x2808391d0 UIView:0x1047a4650.width == 2.49333*UIView:0x1047a4650.height - 74.8   (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.
DXjVYExbt4cgEgBMo74M
(lldb) x
...