I have a website that I want to embed into my XCode project. I don't want to have it so whenever I change pages it will have to load. Is it possible to make it so that when you first open the app it will download the html files and then run smoothly? Or how would I go about fixing this loading problem?
Updating HTML inside XCode
Which platform are you designing for?
Thank you for your help. I am developing for iOS so iPhone and iPad.
Is it possible to make it so that when you first open the app it will download the html files and then run smoothly?
I can't see why not. If the web view can load the site from your app bundle, it should be equally able to load a downloaded copy of the site from your app's container.
It'd be a good idea for your app to include an initial copy of the site within the app itself, so that someone downloading the app from the App Store gets a fully functional app immediately. Your app can then arrange to update the site at a convenient time.
Finally, make sure you load the update over HTTPS; you wouldn't want a malicious network giving you back a harmful version of your site.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"