Closed radianttap closed 4 years ago
Layout anchors crash on iOS 9 which Pulley supports. Updates to the project format also eliminates backwards compatibility with Xcode versions which is the advantage of using the older standard format.
Quick clarification, layout anchors are known to be buggy and have a higher crash rate on iOS 9. They do not universally crash. Sorry if my first statement was unclear.
Use NSLayoutAnchors instead of visual format.
Make sure bottom and trailing constraints are of priority 999 – this prevents AL exceptions thrown into Xcode console when you try to animate some embedded content from 0 to something. (just make sure that clip-to-bounds is ON)
With original code, if you actually try to apply insets to constraintToParent() you get this in the console: