- [[ITHotKeyCenter sharedCenter] removeHotKey:@"PlayPause"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"NextTrack"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"PrevTrack"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"TrackInfo"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"ShowPlayer"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"UpcomingSongs"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"ToggleLoop"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"ToggleShuffle"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"IncrementVolume"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"DecrementVolume"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"IncrementRating"];
- [[ITHotKeyCenter sharedCenter] removeHotKey:@"DecrementRating"];
+ NSEnumerator *hotKeyEnumerator = [[[ITHotKeyCenter sharedCenter] allHotKeys] objectEnumerator];
+ ITHotKey *nextHotKey;
+
+ while ( (nextHotKey = [hotKeyEnumerator nextObject]) ) {
+ [[ITHotKeyCenter sharedCenter] unregisterHotKey:nextHotKey];
+ }