I need 500ms seconds vibration for that i am using below code
NSMutableDictionary* dict = [NSMutableDictionary dictionary];
NSMutableArray* arr = [NSMutableArray array ];
[arr addObject:[NSNumber numberWithBool:YES]]; //stop for 500ms
[arr addObject:[NSNumber numberWithInt:500]];
[dict setObject:arr forKey:@"VibePattern"];
[dict setObject:[NSNumber numberWithInt:1] forKey:@"Intensity"];
AudioServicesPlaySystemSoundWithVibration(4095,nil,dict);
AudioServicesPlaySystemSoundWithVibration working perfectly but give warning as well as i am not able to release my application to app store.
I amd include AudioTools framework in my project
Please help me
Thanks in advance