unregisterDevice method added to iOS