How would I use background app refresh to update the content of my app?
Background app refresh in Xcode to update app content
It’s hard to answer this without more details. Let’s start with something simple: Where does your app get its content from?How would I use background app refresh to update the content of my
app?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I use storyboard on Xcode 12
OK, but that’s not what I was aiming for. Let me clarify…I use storyboard on Xcode 12
You goal is to implement some sort of background app refresh. Presumably that means you want to update your UI based some data that’s changing outside of your app (if the data was changing inside your app, you can just update your app immediately). What is the source of that data? Are you downloading it from the ’net? Or getting it from a accessory? Or perhaps you just want to update based on the passage of time?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I want my app’s content to update when I add something to my storyboard on Xcode 12.
So when I put something new ( I am putting fun fact news on my app) I want my app to automatically refresh its interface so that the new news will show.
Your app’s storyboard is baked into your app. You can’t change it without pushing a new update to the App Store.
Most folks build their app so that it fetches content over the network and uses that to populate its UI. There’s a bunch of ways you can do this but most of them rely on you maintaining some network infrastructure (for example, a web server from which the app can download content). One option that doesn’t is your app’s CloudKit public database.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Most folks build their app so that it fetches content over the network and uses that to populate its UI. There’s a bunch of ways you can do this but most of them rely on you maintaining some network infrastructure (for example, a web server from which the app can download content). One option that doesn’t is your app’s CloudKit public database.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I want to just refresh data coming from inside of the app, what is the way to do that?
It’d be best for you to start a new thread with the details of your specific issue.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"