Предупреждение об ограничении автоопределения «Будет пытаться восстановить, нарушая ограничение»
Я пытаюсь внедрить фид новостей (как-то вроде instagram без комментариев или комментариев). Он работает, но xcode продолжает показывать эту ошибку. Я попытался изменить все ограничения, однако я не могу работать. Высота стола составляет 475, а изображение имеет высоту 400, оставляя 75 для белой области с надписями.
Я использовал
self.tableView.estimatedRowHeight = 475; self.tableView.rowHeight = UITableViewAutomaticDimension;
Любая помощь?
- Пользовательская ячейка UITableViewCell с использованием данных загрузки IB
- Подвью UITableViewCell возвращает только UITableViewCellScrollView в iOS7
- Поиск списка городов
- Полная анимация пользовательского прослушивания UISearchBar с экрана
- Динамическое изменение размера UITableView в UIViewController, созданное в Storyboard
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. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSLayoutConstraint:0x174096530 UIImageView:0x1743e9000.top == UITableViewCellContentView:0x17418af80.topMargin + 13>", "<NSLayoutConstraint:0x1740977f0 V:[PFImageView:0x1743e8e00]-(0)-| (Names: '|':UITableViewCellContentView:0x17418af80 )>", "<NSLayoutConstraint:0x174097840 V:[UIImageView:0x1743e9000]-(24)-[PFImageView:0x1743e8e00]>", "<NSLayoutConstraint:0x174097890 H:|-(0)-[PFImageView:0x1743e8e00] (Names: '|':UITableViewCellContentView:0x17418af80 )>", "<NSLayoutConstraint:0x174097930 H:[PFImageView:0x1743e8e00]-(0)-| (Names: '|':UITableViewCellContentView:0x17418af80 )>", "<NSLayoutConstraint:0x174097ac0 PFImageView:0x1743e8e00.width == PFImageView:0x1743e8e00.height>", "<NSLayoutConstraint:0x174097b60 V:[UIImageView:0x1743e9000(30)]>", "<NSLayoutConstraint:0x174092ed0 'UIView-Encapsulated-Layout-Width' H:[UITableViewCellContentView:0x17418af80(375)]>", "<NSLayoutConstraint:0x174092f20 'UIView-Encapsulated-Layout-Height' V:[UITableViewCellContentView:0x17418af80(44)]>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x174097b60 V:[UIImageView:0x1743e9000(30)]> 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.
- ; не работает, пока я не прокручу tableView
- UIWebView не загружает новый URL-адрес
- UITableView не прокручивается, когда он состоит только из заголовка раздела
- Сортировка UITableView в разделы по дате из массива событий
- Пути исключения в текстовом контейнере UILabel
- Анимация UITableView изменяет размер
- Разделы iOS - UITableView на основе диапазонов дат
- Ячейки Static TableView, которые не отображаются в iOS9, пока не будут прокручиваться назад
Я на самом деле решил проблему смены приоритета с нижней границы изображения до 750. Спасибо за помощь.