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
1
vote
1 answer

How long does AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) last?

I don't have access an iPhone to test on right now. Can anyone tell me how long this call makes the phone vibrate? Thanks.
marty
  • 207
  • 3
  • 6
1
vote
1 answer

How to disable UIButton vibration

Up until today I have been testing my apps in the Simulator. For the first time I tested a project on a real iPhone. I was unpleasantly surprised that every time I press a button the phone vibrates. This wouldn't be a big deal except that my…
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
1
vote
3 answers

How to add vibration to cocos2d-x 3.2 on Android and iOS devices?

I want to vibrate my device in one of my slider functionality, using cocos2d-x 3.2. I followed some of reference links regarding this on the official forums but I'm still stumped. Can anyone help me?
1
vote
0 answers

Add background thread that Vibrate's the phone when called

I take over the audio input to analyze what note is being played by an instrument. That takes over a main thread. How do I create a thread to run with it so that when the note gets played on tune I can vibrate the phone? This is my viewDidLoad: -…
Realinstomp
  • 532
  • 2
  • 13
  • 30
1
vote
1 answer

What is called internally on iOS 7 for vibration (it has changed!)?

According to Are there APIs for custom vibrations in iOS? (that would have been as of iOS 5 / 6), AudioServicesPlaySystemSoundWithVibration() is used internally for vibration on iOS. However I have tried hooking into on iOS 7, using…
1
vote
2 answers

Additional Vibrations for Push Notifications with Local Notifications

I want the phone to vibrate more than once on incoming push notifications. To realize this behavior I scheduled several text-less local notifications (after 1 second, 2 seconds, ...) in the…
pinki
  • 902
  • 2
  • 12
  • 29
1
vote
1 answer

How is Cycloramic possible on iOS?

I just came across cycloramic app, which rotates the iPhone automatically to take 360 panoramas (you place the phone upright on a flat surface and it does its magic). I am blown away. And my question is, how is it possible to control the vibration…
Ege Akpinar
  • 3,266
  • 1
  • 23
  • 29
1
vote
1 answer

How to override iOS System Vibration Settings?

I've just recently noticed that they're are two switches inside the Settings Application that say "Vibrate on Ring" and "Vibrate on Silent". If these switches are turned to OFF, I am not able to vibrate the phone from my application. I currently…
Makleesh
  • 988
  • 10
  • 15
1
vote
1 answer

iPhone - Not able to vibrate the iPhone

I am using this AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); Importing that #import Then an error is what I got! Undefined symbols for architecture armv7:"_AudioServicesPlaySystemSound Why is that?
Abdalrahman Shatou
  • 4,550
  • 6
  • 50
  • 79
0
votes
1 answer

How to create vibration with customized duration on ios's objectiveC?

I am using UIImpactFeedbackGenerator and UINotificationFeedbackGenerator to make vibrations, but I can't control the duration, is there a way to do it?
DevD
  • 31
  • 4
0
votes
0 answers

Background location alert with vibration?

I tried to use the method AudioServicesPlayAlertSound(kSystemSoundID_Vibrate) AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) to trigger vibration when the method func locationManager(_ manager: CLLocationManager, didUpdateLocations…
user6539552
  • 1,331
  • 2
  • 19
  • 39
0
votes
0 answers

Is that possible to create manually disable/enable vibrate setting for incoming APN from payload or from inside App?

I need setting in my app for Enable/Disable vibrate for incoming APN regardless of sound. It should not depend on sound. May i control this? Any help will be appreciated.
0
votes
0 answers

How to reduce the vibration less than a second in objective c?

I'm working for my app that has to be integrated vibration on button click. I've added AudioToolBox framework to support for sound and vibration. I did try to make vibrate in my device about less than 1 sec (500ms) as per requirement but I got…
Sathish
  • 416
  • 1
  • 6
  • 20
0
votes
1 answer

How to vibrate iPhone while playing music

I am trying to vibrate the iPhone using AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) while playing iPod music with the MediaPlayer framework, but I can't get the vibrate to work while the music is playing. I can play a sound at the same time…
0
votes
1 answer

How to make a call when iphone shakes with particular threshold?

I am making an app in which i need to implement calling emergency medical services when mobile shakes with a particular threshold. Is it possible to capture the threshold or the extent of phone shakes and making a call when it happens? One…
CKT
  • 1,223
  • 4
  • 21
  • 39