D
D
deleted-mezhevikin2013-11-19 18:00:02
Objective-C
deleted-mezhevikin, 2013-11-19 18:00:02

How to replace buttons in ios RemoteControl?

The application plays music in the background, how to replace the NextTrack and PreviousTrack buttons in the RemoteControl with Forward and Rewind?
Left as default, right as it should:
c4gro.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
An, 2013-11-19
@deleted-mezhevikin

If my memory serves me, then nothing (of course, if we are talking about an application hosted in AppStor)
But I could not find confirmation in the documentation right away.

A
Alexander, 2013-11-19
@alexyat

The fact that you have different things on the screenshots, the first is the next / previous track, and the second is fast forward / backward for 15 seconds. So, these are standard elements and they do not change, if your application supports rewinding inside the song, then the buttons will also change (you need to hold them down to rewind.).
Rewind needs to support the following events

UIEventSubtypeRemoteControlBeginSeekingBackward,
UIEventSubtypeRemoteControlEndSeekingBackward,
UIEventSubtypeRemoteControlBeginSeekingForward,
UIEventSubtypeRemoteControlEndSeekingForward,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question