This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove global state from EAIntroView's constructor
The code that modifies global state has been moved into the willMoveIntoSuperView: method. This fixes a crash on iOS <= 8. It also fixes an issue where the device would generate Device Orientation Notifications when it shouldn't. Previously, if an EAIntroView was removed by removing its parent view (or ViewContrroller) - the cleanup code for the EAIntroView wasn't being called. The same issue existed for an EAIntroView that was created, but not added to a view hierarchy. Fixes ealeksandrov#168
- Loading branch information