Rao Rules
Rao Rules

Reputation: 325

Block calls in Iphone while application running

I need help, working on iPhone app using phoneGap 0.9.6.

while using app I want to block all incoming calls because i do not want the application to be interrupted. Can any one help.?

Upvotes: 0

Views: 2033

Answers (3)

jtbandes
jtbandes

Reputation: 118681

No, you can't do this with any public APIs.

However, your application delegate will be notified when a call comes in, and you can prepare for this (save data, pause, etc.).

Upvotes: 4

Raptor
Raptor

Reputation: 54212

Is it possible? I don't think you can block calls in application.

Maybe you can detect Airplane mode & ask user to switch to Airplane mode if they haven't.

Upvotes: 0

Related Questions