Skip to content

Fixed iOS6 crash due to view being associated with multiple parent views#7

Open
gslomin wants to merge 1 commit into
n-b:masterfrom
gslomin:master
Open

Fixed iOS6 crash due to view being associated with multiple parent views#7
gslomin wants to merge 1 commit into
n-b:masterfrom
gslomin:master

Conversation

@gslomin

@gslomin gslomin commented Jun 20, 2014

Copy link
Copy Markdown

This should fix the crash in iOS 6 that happens when a NibLoadedView is deallocated. This happens because iOS6 still returns the old container view as it's superview after it has been added to it's new parent.

This usually either crashes in [NSISEngine removeConstraintWithMarker:] on a device or "getpid" on the simulator.

@jessenaugher

Copy link
Copy Markdown

Looks good to me, and fixed my problem as well. Thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants