A pretty quick (<100 lines) tool to debug your AutoLayout ambiguos layout.
- Add the pod to your podfile
pod 'AutoLayoutDance', '~> 0.0.1'
- Trigger the dance with
[[NZAutoLayoutDance sharedInstance] triggerDanceOnAmbiguousLayout];
- Visually figure out which constraints are missing
In the provided demo, AutoLayoutShakeDemo, the shake gesture is used as a trigger to start the dance!
Have fun!