zwaldowski/BlocksKit — Issue #46: Using BlocksKit with MPVolumeView showing route button causes crash
Author: adamjernst
Created: 2011-12-09 21:55:57+00:00
State: open

If you use BlocksKit in your project, and you also use an MPVolumeView that is displaying a "route" button (allows you to select AirPlay destination for playing audio), tapping the route button will cause a crash.

The crash references an unrecognized selector `associatedValueForKey` on an internal MPVolumeView action sheet subclass. Either BlocksKit's `associatedValueForKey:` is conflicting with Apple's own internal implementation, or else that particular action sheet subclass declares its own `addButtonWithTitle:handler:` method that BocksKit is unintentionally overriding with its category.