[
https://issues.apache.org/jira/browse/CB-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700152#comment-14700152
]
ASF GitHub Bot commented on CB-8875:
------------------------------------
Github user idpaterson commented on the pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/44#issuecomment-131947531
Should the `createViews` and `destroyViews` calls (the entire if/else
structure) be dispatched to the main thread as well? It seems that calling
those off of the main thread could lead to unexpected behavior since they
interact with views.
> Splash screen no longer fades when FadeSplashScreen=true
> --------------------------------------------------------
>
> Key: CB-8875
> URL: https://issues.apache.org/jira/browse/CB-8875
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin SplashScreen
> Reporter: Chris Karcher
>
> After upgrading to the latest version of the plugin with the fix for
> [CB-8836], the splash screen in my iOS app no longer fades even though
> FadeSplashScreen=true.
> This is the commit that addresses CB-8836:
> [https://github.com/apache/cordova-plugin-splashscreen/commit/559b300d29ba6eb2f951eb19b9bbf7ba9238a862]
> I've found that wrapping the entire call to [UIView transitionWithView] with
> a dispatch_async (rather than the individual animation and completion blocks)
> fixes the issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]