【正文】
right before the line @end ” : (void)updateLabel { } right before the line @end NSTimer *timer。 并增加一個(gè)方法(void) onTimer。 寫一個(gè)applicationDidFinishLaunching方法,把計(jì)時(shí)器加進(jìn)去 寫一個(gè)onTimer方法用來在界面中更新label 寫一個(gè)applicationWillTerminate 方法用來終止計(jì)時(shí)器 在dealloc方法中釋放計(jì)時(shí)器刷新label 在viewDidLoad方法中增加代碼改變字體 寫一個(gè)updateLabel方法,用來獲取時(shí)間并更新Label