NSArray *pattern = @[@(YES), @(20), @(NO), @(10), @(YES), @(30)]; NSNumber *intensity = [NSNumber numberWithInt:2]; NSDictionary *vibrate = @{ @"VibePattern" : pattern, @"Intensity" : intensity }; AudioServicesPlaySystemSoundWithVibration(4095, nil, vibrate);
|