remote-control
可以让用户通过外部接口控制应用程序音乐, 官方建议的做法是在View显示的时候接收remote-control事件
然后在View消失的时候取消接收remote-control 事件
还有一点,接收reomte-control的resp必须是first responder,所以要复写canBecameFirstResponder
另一简洁的方法是 , 派生UIWindow并复写它的- (void) remoteControlReceivedWithEvent: (UIEvent *) receivedEvent方法
:) 是不是更简单?!