Detecting FR/FF button event in MPMoviePlayerController UI? -
basically long pressing of fr(fast rewind)/ff(fast forward) causes directional scrubbing. ipod, youtube app detects short tapping of these buttons , uses navigating previous/next tracks.
how can archive feature? possible? or should go view-hierarchy hack?
i have solved view hierarchy hack. not recommended , should avoided as possible. note here further reference. mark there no accessible way currently. hack applied specific version (4.3) of ios sdk.
- iterate view hierarchy of
-[mpmovieplayercontroller view]. - find subclass of
uibutton. , add target-action handler of them. (you can check subclass ofmptransportbutton) - in handler, can filter tags. navigation buttons tagged. each tag means
1= play/pause,2= previous,4= next button.
take care hack. not guaranteed work or pass on appstore.
if have experience of rejection method, please comment me. it'll appreciated.
Comments
Post a Comment