Giter Site home page Giter Site logo

Comments (6)

fifafu avatar fifafu commented on April 29, 2024

This is great!

I would propose to add support for the ~ipad modifier just like iOS supports it, so that it loads the storyboard with ~ipad suffix when running on a tablet (i.e. LaunchScreen~ipad.storyboard)

from capacitor-plugins.

peterlindholm avatar peterlindholm commented on April 29, 2024

Are there any updates on this - anything I can do to help?

from capacitor-plugins.

jayenashar avatar jayenashar commented on April 29, 2024

@peterlindholm would you be able to make a pull request? i would like to use the LaunchScreen.storyboard in my splash screen but I'm not a swift/ios developer.

from capacitor-plugins.

benharpers avatar benharpers commented on April 29, 2024

@jayenashar Basically you don't have to be a swift developer to make this work, you can just copy-paste the code above into Pods>Development Pods>Capacitor>Plugins>SplashScreen.swift and it should work. I haven't tried it with the latest versions of Capacitor, I don't know if @jcesarmobile and team made any other changes to the SplashScreen plugin after I made these changes. Hopefully this can be added into a future version of Capacitor, perhaps with the iPad storyboard addition as noted above. 👍

from capacitor-plugins.

jayenashar avatar jayenashar commented on April 29, 2024

thanks. i will try that when i get access to my friend's mac. looking at Podfile, that file is in node_modules, so i guess i need to do that after each update/install. i did do a diff and patch it against the latest version and there's some small changes but it's pretty clear what it should be. i also left out the pause/resume stuff and just did the imageView -> viewController.view changes. maybe i'll make a PR!

from capacitor-plugins.

ionitron-bot avatar ionitron-bot commented on April 29, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.

from capacitor-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.