Domanda

For my app, I want to display a different image and text for different times of day. How would I go about doing this? Thanks!

È stato utile?

Soluzione

To get the current time:

Get current system time?

Then use an if statement with the times that your program should change background.

You can refer to set background image for entire iPhone / iPad app for how to change the background.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top