Juan Reyes
Juan Reyes

Reputation: 404

iOS AutoLayout LayoutGuide disappears on Memory Warning

I'm having some issues with the _UILayoutGuide that dictates the top and bottom of the screen in my app home screen. Everything works fine until a Memory Warning is triggered in a ViewController that's further in the navigation stack and I try to go back to home. For some reason the top and bottom _UILayoutGuide disappear and the constraints that where attached to them just break, making the view either go up or down.

Is there some way to prevent this? alternatives? Where can I hook the view if there's no other option?

Thanks in advance.

Upvotes: 0

Views: 91

Answers (0)

Related Questions