You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When in-call StatusBar/hotSpot StatusBar is present (On device, havent tried simulator), the following auto-layout errors are given by the compiler.
This can be recreated on the pageboy example app by just turning on personal hotspot and launching the app on device.
2017-05-3011:51:07.328140+0300Pageboy-Example[2099:469758][LayoutConstraints]Unabletosimultaneouslysatisfyconstraints.Probablyatleastoneoftheconstraintsinthefollowinglistisoneyoudon't want.
Trythis:
(1)lookateachconstraintandtrytofigureoutwhichyoudon't expect;
(2)findthecodethataddedtheunwantedconstraintorconstraintsandfixit.(Note: Ifyou're seeing NSAutoresizingMaskLayoutConstraints that you don'tunderstand,refertothedocumentationfortheUIViewpropertytranslatesAutoresizingMaskIntoConstraints)("<NSAutoresizingMaskLayoutConstraint:0x170098ba0 h=-&- v=-&- _UIPageViewControllerContentView:0x100d08a20.midY == UIView:0x100d12150.midY + 20 (active)>","<NSAutoresizingMaskLayoutConstraint:0x170098bf0 h=-&- v=-&- _UIPageViewControllerContentView:0x100d08a20.height == UIView:0x100d12150.height (active)>","<NSLayoutConstraint:0x170096a80 V:|-(0)-[_UIPageViewControllerContentView:0x100d08a20] (active, names: '|':UIView:0x100d12150 )>")Willattempttorecoverbybreakingconstraint<NSLayoutConstraint:0x170096a80V:|-(0)-[_UIPageViewControllerContentView:0x100d08a20](active,names: '|':UIView:0x100d12150 )>
MakeasymbolicbreakpointatUIViewAlertForUnsatisfiableConstraintstocatchthisinthedebugger.ThemethodsintheUIConstraintBasedLayoutDebuggingcategoryonUIViewlistedin<UIKit/UIView.h> may also be helpful.
2017-05-30 11:51:07.334525+0300 Pageboy-Example[2099:469758] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x170098ba0h=-&-v=-&-_UIPageViewControllerContentView:0x100d08a20.midY==UIView:0x100d12150.midY+20(active)>",
"<NSAutoresizingMaskLayoutConstraint:0x170098bf0h=-&-v=-&-_UIPageViewControllerContentView:0x100d08a20.height==UIView:0x100d12150.height(active)>",
"<NSLayoutConstraint:0x170096e40V:[_UIPageViewControllerContentView:0x100d08a20]-(0)-|(active,names: '|':UIView:0x100d12150 )>"
)Willattempttorecoverbybreakingconstraint<NSLayoutConstraint:0x170096e40V:[_UIPageViewControllerContentView:0x100d08a20]-(0)-|(active,names: '|':UIView:0x100d12150)>MakeasymbolicbreakpointatUIViewAlertForUnsatisfiableConstraintstocatchthisinthedebugger.ThemethodsintheUIConstraintBasedLayoutDebuggingcategoryonUIViewlistedin<UIKit/UIView.h> may also be helpful.
The text was updated successfully, but these errors were encountered:
@msaps
When in-call StatusBar/hotSpot StatusBar is present (On device, havent tried simulator), the following auto-layout errors are given by the compiler.
This can be recreated on the pageboy example app by just turning on personal hotspot and launching the app on device.
The text was updated successfully, but these errors were encountered: