Unregisters accessory check callback registered in ‘checkAccessoryUseFlag’ API. This function has to be called after ‘closeSession’ API in normal accessory release operation.
There are situation in which application that occupying accessory can get killed. To ensure proper clean-up, ‘unregisterAccessoryCheck’ API can be called in appDelegate’s API ‘applicationWillTerminate’.
There are scenarios where application is moved to background when data transfer is in progress. In such scenario when data transfer is completed, ‘unregisterAccessoryCheck’ API has to be called immediately before application is moved to suspended state.