CB-10895 Transparent Splashscreen view sometimes remains

github: close#92
This commit is contained in:
Jeroen Verhoest 2016-03-14 12:32:11 +01:00 committed by daserge
parent 41d9ae94ff
commit bea0a4e408

View File

@ -456,7 +456,10 @@
[weakSelf hideViews];
}
completion:^(BOOL finished) {
if (finished && !_destroyed) {
// Always destroy views, otherwise you could have an
// invisible splashscreen that is overlayed over your active views
// which causes that no touch events are passed
if (!_destroyed) {
[weakSelf destroyViews];
// TODO: It might also be nice to have a js event happen here -jm
}