Question

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!

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top