I want to vibrate
and flash light
simultaneously.But when I Use following code i only get flash light
.
if (some condition)
{
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
[self setTorch:YES];
}
But when i use only
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
my phone vibrates.
I am unable to find the issue.