-(void)playVibeDuring:(int)second
{
for (int i = 1; i <= second; i++)
{
[self performSelector:@selector(vibe) withObject:self afterDelay:i * .3f];
}
}
- (void)vibe
{
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}
댓글 없음:
댓글 쓰기