cutting-room-floor / mapbox-gl-cocoa

OBSOLETE
74 stars 12 forks source link

Layout errors #23

Closed kkaefer closed 10 years ago

kkaefer commented 10 years ago

@incanus, I'm seeing these autolayout(?) errors in the console.

2014-05-27 15:13:21.284 llmr[5383:60b] 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:0x170289330 V:[_UILayoutGuide:0x17018b390]-(10)-[UIView:0x17817efc0]>",
    "<NSLayoutConstraint:0x1702837a0 V:[_UILayoutGuide:0x17018b390]-(30)-[UIView:0x17817efc0]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x1702837a0 V:[_UILayoutGuide:0x17018b390]-(30)-[UIView:0x17817efc0]>

Break on objc_exception_throw to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
incanus commented 10 years ago

Yep, in the midst of this now.

incanus commented 10 years ago

These should be fixed by the problem causing #25. Will address there.