Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable "Location Accuracy" message when using iBeacon

I have an app that uses iBeacon. I plan to provide all of the feedback about the state of Location Services and Bluetooth to the user within the app.

The problem is: When I disable Bluetooth while the app is running. An alert view comes up titled "Location Accuracy" saying "Turning on Bluetooth will improve location accuracy." This degrades from the user experience that I am trying to set up. I want to guide users into turning on Bluetooth using custom UI.

I would like to disable this alert. Is that possible?

The alert view in question

like image 398
dfmuir Avatar asked Oct 21 '22 13:10

dfmuir


1 Answers

You can't. iBeacon based on Bluetooth so it just not work without turning it On.

Upd. but of course you can check that bluetooth disabled with CBCentralManager and inform user in other way before using iBeacon code

like image 101
sage444 Avatar answered Oct 23 '22 04:10

sage444