[問題]可計算視窗出現的次數或按鈕按過的次數嗎
目前警告視窗出現的次數是用這個方法
if (StartGame.hidden==YES) {
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Moving Stopped"
message:@"Finger has been lifted off the screen."
delegate:nil cancelButtonTitle:@"OK"
otherButtonTitles: nil];
[alert show];
}
有辦法可以算出目前警告視窗出現了幾次嗎?
還是有辦法計算button按過的次數呢?
謝謝各位大大
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.114.54.99
※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1425393143.A.D9E.html
→
03/03 22:48, , 1F
03/03 22:48, 1F
→
03/03 23:58, , 2F
03/03 23:58, 2F
→
03/04 08:43, , 3F
03/04 08:43, 3F
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章