have a lot going for
原文解釋: to have many good qualities or advantages that will make it easier for you to succeed
have a lot going for
原文解釋: to have many good qualities or advantages that will make it easier for you to succeed
先將按鈕所需圖片複製進入專案並加入以下程式碼:
if( [[sender imageForState:UIControlStateNormal] isEqual:[UIImage imageNamed:@"button-on.png"]])
{
[sender setImage:[UIImage imageNamed:@"button-off.png"] forState:UIControlStateNormal];
// other statements
}
else
{
[sender setImage:[UIImage imageNamed:@"button-on.png"] forState:UIControlStateNormal];
// other statements
}
flag down
原文解釋: to signal or wave ro get the attention, indicating that someone should stop.