DT.DTDG
DT.DTDG

Reputation: 765

Is there a way to programatically toggle vibrate?

In objective-c for iOS dev, is there any way to programatically toggle the vibrate on/off? And also to check its current state?

If there is, where might I find it in documentation? I've looked and cannot find it so maybe it's not possible?

Edit: I don't mean to make the phone vibrate. What I mean is that when the phone is on silent there is a toggle to have vibration on/off. Can this be controlled programatically?

Upvotes: 0

Views: 146

Answers (1)

Quentin Hayot
Quentin Hayot

Reputation: 7876

No you can't.
This is a system defined property (that your user can access from Settings).
None of the iOS APIs allow such kind of control.

Upvotes: 1

Related Questions