UIView-NibLoading icon indicating copy to clipboard operation
UIView-NibLoading copied to clipboard

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

Open gslomin opened this issue 10 years ago • 1 comments

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.

gslomin avatar Jun 20 '14 01:06 gslomin

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

jessenaugher avatar Aug 26 '14 01:08 jessenaugher