Questions tagged [iphone-vibrate]

Refers to the vibration of the iPhone.

Refers to the vibration process of the iPhone, and the methods and options which are available to control it, as well as the events that trigger the vibration itself.

52 questions
73
votes
2 answers

Are there APIs for custom vibrations in iOS?

Starting in iOS 5, users are able to create custom vibration patterns for alerts and rings. The following screenshot shows the UI for creating one (Contacts app in iOS 6): I've been searching around, including the documentation, and I cannot find…
Andrew
  • 2,770
  • 1
  • 22
  • 29
37
votes
2 answers

Programmatically make the iPhone vibrate

Possible Duplicate: Making the iPhone vibrate How can you programmatically make the iPhone vibrate? Any ideas, or tutorial links appreciated.
Sam Jarman
  • 7,277
  • 15
  • 55
  • 100
12
votes
4 answers

Performing vibration in recording app

I am trying to perform a vibration in an app similar to Snapchat, that uses both audio output and input as well as supports audio mixing from other apps, but this seems to be a harder task that I initially thought it would be. Important to know is…
Daniel Larsson
  • 6,278
  • 5
  • 44
  • 82
8
votes
1 answer

How to check whether device set vibration mode or not in iOS programatically?

I am making a VoIP application for iOS. For incoming calls, I have set some custom ringtones. It's working fine, but I want to check whether the device settings are set to Vibration mode or not programmatically. I have searched on the web regarding…
8
votes
0 answers

How to change the duration of vibration in iOS / Swift?

It's possible to make the device vibrate with AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate)). But is there also a way to set the duration of the vibration process? I want it to be shorter. I thought of stopping the vibration…
MJQZ1347
  • 2,607
  • 7
  • 27
  • 49
7
votes
4 answers

How to make my iphone vibrate twice when I click on a button?

I search to make vibrate twice my iphone when I click on a button (like a sms alert vibration) With AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate)) I obtain just one normal vibration but I want two shorts :/.
sunstan
  • 113
  • 1
  • 1
  • 3
7
votes
1 answer

Intensity of custom iPhone vibration

This is a question related to Are there APIs for custom vibrations in iOS?. I am able to create custom vibration patterns, but have no control over the intensity. This is copied over from Kevin Cao's answer that enables custom vibration…
Julian Vogels
  • 668
  • 1
  • 6
  • 21
6
votes
2 answers

Vibrate iPhone 6S manually like peek and pop?

How can I manually trigger a single click-like vibration like the ones that happen when using peek&pop, or application shortcuts?
vrwim
  • 13,020
  • 13
  • 63
  • 118
5
votes
1 answer

iOS - local notification - custom vibration or vibrate for longer duration

I am trying to build an iPhone app that works like an alarm, I am using UILocalNotification Problem I would like the phone to vibrate for a longer duration. However currently it vibrates only once. Alternative Approaches Is it possible to use…
user1046037
  • 16,755
  • 12
  • 92
  • 138
4
votes
1 answer

iOS 7 or 8 - use custom vibrations

I want to trigger one of the custom vibrations that are in iOS 7 (you can see them when going into the native Contacts application and editing a contact) when my app gets a push notification. Is that possible? The best thing would be to specify the…
bobsacameno
  • 765
  • 3
  • 10
  • 25
3
votes
2 answers

User Notification: Custom Vibration pattern

Is it possible to create custom vibration pattern for the user notification alert? example, we can choose to have different audio for the user notification. Is it possible to have custom vibration pattern as well? I mean do this programmatically on…
user6539552
  • 1,331
  • 2
  • 19
  • 39
3
votes
2 answers

How to keep vibrate device in the background

I'm doing a VOIP app when the incoming call is coming and app is in the foreground. I play the ringer with the code below self.ringTimer = [[TimerService sharedInstance] createIntervalTimerWithInterval:2500…
SaintTail
  • 6,160
  • 4
  • 31
  • 51
2
votes
1 answer

Create UILocalNotification with sound and no vibration

Is it possible to create UILocalNotification playing a custom sound but not vibrate the phone? EDIT: this is the code I used to create UILocalNotification, it works but it vibrates the phone. I don't want the phone to vibrate but I want to play a…
Tuyen Nguyen
  • 4,389
  • 7
  • 51
  • 77
2
votes
1 answer

iOS Fine-grained control of vibration unit

How much control do I have over the vibration unit on the iPhone? I am simulating a plucked string, it would be fantastic if I could get the iPhone to vibrate in accord with the sound. so, a) is it possible to modulate the intensity of the…
P i
  • 29,020
  • 36
  • 159
  • 267
2
votes
1 answer

Smooth touch in ios

Is there any code which can make my app smooth vibrate when i used to press the button. Currently i am using the following methods. Please have a look -(IBAction)buttonClicked:(UIButton *)sender { …
PAn Kaj Khatri
  • 539
  • 1
  • 6
  • 22
1
2 3 4