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.

  1. iterate view hierarchy of -[mpmovieplayercontroller view].
  2. find subclass of uibutton. , add target-action handler of them. (you can check subclass of mptransportbutton)
  3. 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

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

queue - mq_receive: message too long -