mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-04-14 00:01:34 +08:00
CB-10895 Transparent Splashscreen view sometimes remains
github: close#92
This commit is contained in:
@@ -456,7 +456,10 @@
|
|||||||
[weakSelf hideViews];
|
[weakSelf hideViews];
|
||||||
}
|
}
|
||||||
completion:^(BOOL finished) {
|
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];
|
[weakSelf destroyViews];
|
||||||
// TODO: It might also be nice to have a js event happen here -jm
|
// TODO: It might also be nice to have a js event happen here -jm
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user