2015-09-02 55 views

回答

0

根據UIEventTypeUIEventSubtype下,你會得到耳塞

這4個事件
UIEventSubtypeRemoteControlTogglePlayPause 
UIEventSubtypeRemoteControlPlay 
UIEventSubtypeRemoteControlPause 
UIEventSubtypeRemoteControlStop 

沒有定義相關的按鈕,長按任何子事件。

+0

是的,我已經看到了。但我想知道是否有另一種方法來檢測它。即使使用Apple的私有API。 –