user3745888
user3745888

Reputation: 6253

Can I open an app closed in Objective-c with Core Bluetooth?

I'm developing an app with Core Bluetooth in objective-c. And I have a question. If the user close the app or presh home button and this go to background, could my app turn open when my device send a signal by bluetooth?

Is this possible?

Upvotes: 0

Views: 59

Answers (1)

Sulthan
Sulthan

Reputation: 130072

You can show a notification to the user and the user can then decide to open your application. You can't force the app to be opened automatically, without user's consent.

That's actually the whole point of notifications - bring the user's attention to something that is happening in your app.

Upvotes: 1

Related Questions