mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-01-25 00:00:06 +08:00
CB-10895 Transparent Splashscreen view sometimes remains
github: close#92
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user