iOS PhoneGap / Cordova – Splash screen control

In Cordova from 1.6 version exist “AutoHideSplashScreen” attribute. If you need show splash screen until you get onDeviceReady event - change value to NO.

function onBodyLoad()
{  
 document.addEventListener("deviceready", onDeviceReady, false);
}
function onDeviceReady()
{
 navigator.splashscreen.hide();
}

But if you have Cordova version until 1.8 it doesn't work. Use instead navigator object:

 cordova.exec(null, null, "SplashScreen", "hide", []);
 cordova.exec(null, null, "SplashScreen", "show", []);

But for iPad you need add to project two new images:

 Default-Portrait.png
 Default-Landscape.png

60 comments:

  1. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  2. Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!
    Python training in usa
    Python training in marathahalli
    Python training in pune

    ReplyDelete
  3. Thanks for the good words! Really appreciated. Great post. I’ve been commenting a lot on a few blogs recently, but I hadn’t thought about my approach until you brought it up. 

    Devops training in sholinganallur

    ReplyDelete
  4. This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 
    Blueprism training in marathahalli

    Blueprism training in btm

    Blueprism online training

    ReplyDelete
  5. Well done! Pleasant post! This truly helps me to discover the solutions for my inquiry. Trusting, that you will keep posting articles having heaps of valuable data. You're the best! 

    angularjs Training in chennai
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    ReplyDelete
  6. Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.

    AWS Interview Questions And Answers

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    Amazon Web Services Training in Pune | Best AWS Training in Pune

    ReplyDelete
  7. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.
    R Programming Course Fees

    ReplyDelete
  8. I really thank you for your innovative post.I have never read a creative ideas like your posts.here after i will follow your posts which is very much help for my career.
    Salesforce Training in Anna Nagar
    Salesforce courses in Anna Nagar
    Salesforce Training in T nagar
    Salesforce Certification Training in T nagar

    ReplyDelete
  9. You blog post is just completely quality and informative. Many new facts and information which I have not heard about before. Keep sharing more blog posts.
    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete
  10. Nice post. I learned some new information. Thanks for sharing.

    Article submission sites
    Education

    ReplyDelete
  11. Nice post. I learned some new information. Thanks for sharing.

    Article submission sites
    Technology

    ReplyDelete
  12. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful ..Automation Anywhere Training in Bangalore

    ReplyDelete
  13. Attend The Business Analytics Course From ExcelR. Practical Business Analytics Course Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analytics Course.
    Business Analytics Course
    Data Science Interview Questions

    ReplyDelete
  14. Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written.

    data science course

    ReplyDelete



  15. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it. The angular js programming language is very popular which are most widely used.



    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery














    ReplyDelete
  16. thanks a lot for sharing this post.
    Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervour like mine to grasp great deal more around this condition.
    This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot.
    Data Science Training In Chennai | Certification | Data Science Courses in Chennai | Data Science Training In Bangalore | Certification | Data Science Courses in Bangalore | Data Science Training In Hyderabad | Certification | Data Science Courses in hyderabad | Data Science Training In Coimbatore | Certification | Data Science Courses in Coimbatore | Data Science Training | Certification | Data Science Online Training Course

    ReplyDelete
  17. This article gives more useful information to me. Great post .Thanks for sharing useful information. oracle training in chennai

    ReplyDelete
  18. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.

    Simple Linear Regression

    Correlation vs covariance

    KNN Algorithm

    ReplyDelete
  19. Very good blog, Clear explanation and nice content. Keep sharing more blogs with us.
    AI Patasala Python Courses

    ReplyDelete
  20. Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks
    data science training

    ReplyDelete
  21. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
    best data science training in hyderabad

    ReplyDelete
  22. Very awesome blog. Great stuff. Informative content. Very useful to many people. Keep up this good work.
    Data Science Institute in Hyderabad

    ReplyDelete
  23. This post is very simple to read and appreciate without leaving any details out. Great work!
    data science coaching in hyderabad

    ReplyDelete
  24. You completed certain reliable points there. I did a search on the subject and found nearly all people will agree with your blog.
    data scientist course in hyderabad

    ReplyDelete
  25. Please give some advice on how to achieve this kind of posts. data scientist course in mysore

    ReplyDelete
  26. Are you looking for the best Data Science course institute that will aid you in growing in your career. 360DigiTMG is the place for you. Start your course today!business analytics course in rohtak

    ReplyDelete
  27. I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing.
    data science training

    ReplyDelete