Pregunta

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!

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top