您好我想通过某些系统调用每天00:00更改MenuBar文本来创建应用程序。 例如在菜单栏中将是文字今天庆祝马丁......明天将是:今天庆祝迈克尔...
答案 0 :(得分:0)
if I understand correctly, you want something that has separate "days" at the top of your screen?
I am developing an app right now that requires something similar.
You're going to want to create a calendar day reference that uses the device's calendar and location. Once you have this, compare that reference to a set day-- say, 1-Jan-1970.
答案 1 :(得分:0)
我已经使用NSTimer控制器每天在MenuBar上进行更改...