iphone - Custom compass calibration view like Compass app has -

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
Post a Comment