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!

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top