iphone - Custom compass calibration view like Compass app has -


enter image description here

i want make compass native compass app has such calibration view.
method tell need calibrate hardware - (bool)locationmanagershoulddisplayheadingcalibration:(cllocationmanager *)manager
how notification calibration complete?

you can monitor headingaccuracy of subsequent location updates see if accuracy did increase. apple has say:

the alert remains visible until calibration complete or until explicitly dismiss calling dismissheadingcalibrationdisplay method. in latter case, can use method set timer , dismiss interface after specified amount of time has elapsed.

so setting timer , dismissing if accurac increased should work you?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -