Reputation: 3269
Hello I'm creating a simple mobile app using Appgyver - steroids. I'm new with this framework I'm trying to find a way to hide the loading screen between different pages in both Android and iOS. I have read their documentation but I can't make it work. Based on this: http://docs.appgyver.com/en/edge/steroids_Steroids%20Native%20UI_steroids.layers_layers.push.md.html#steroids.layers.push
I 've set keepLoading: false
on a view push which didnt work
also after the view push I called:
steroids.view.removeLoading();
as mentioned here: http://docs.appgyver.com/en/edge/steroids_Steroids%20Native%20UI_steroids.view_view.removeLoading.md.html#steroids.view.removeLoading
Nothing removed the black loading transition screen between pages. Could someone please tell me what I'm doing wrong?
Upvotes: 2
Views: 1751
Reputation: 632
It could be documented better, but if you remove/rename the www/loading.html
(for iOS) and www/loading.png
(for Android) files in your project, then steroids.layers.push()
will not show the loading screen (also means that the push animation will not start until after the WebView has loaded, which can take some time and lead to unresponsive feeling).
Upvotes: 2