fond
logo cours
Programmation sur Plateforme Mobile - companion web site
CXXXVIII - «Tap&Play»
Exercice
logo-seq-exercice

Downloads

Pour l'exercice

Soumission

Résumé de la séquence

This video presents the «Tap&Play» application that operate differently on large and small devices.

It includes two hierarchies of views. The first one allows to pass from track to track in the playlist of the device (and to listen these too). Play starts on a double tap and stops on another double tap. going to the next track is performed with a right swipe and going to the previous track thanks to a left swipe.

The second view is a simple history to be updated each time a track is changed (either because it ends or because the user passed from one to another). This history is just for display, elements cannot be selected.

The behavior depends on the type of device the App runs on:

Keywords : UISplitViewController, UITabBarController, MPMusicPlayerController, MPMediaPickerController, CMMotionManager, CMDeviceMotion,.

Accéder à la séquence

If the video does not appear in the frame, please use the link in the table on your right.

Useful links

Here are some references for those who want to get more information: