0
float seconds = audioPlayer.currentTime;
if ((seconds = 11)){
[self performSelector:@selector(viewController) withObject:nil];
} else {
if ((seconds = 23)){
[self performSelector:@selector(secondViewController) withObject:nil];
} else {
}
Anyidea如何時,我只是想看看是否audioplayer當前播放時間是11,然後做這個或者23,然後做價值的初始化過程中存儲到秒從來沒有讀過
我花了我今天的投票配額,否則你應得+1不僅回答,也提高了代碼:) – 2012-03-19 20:46:22
+ 1不僅回答,而且還改善代碼,嘿嘿:) – 2012-03-19 22:08:54
過去午夜UTC,所以這裏它去... :) – 2012-03-20 00:01:07