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:
- On a small device, the two views are handled thanks to a UITabBar,
- On a large device, the views are handled by a UISPlitView.
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:
- UITabBarController (Apple),
- UITableView (Apple),
- UITableViewController (Apple),
- UINavigationController (Apple),
- UISplitViewController (Apple),
- UISplitViewControllerDelegate (Apple),
- MPMusicPlayerController (Apple),
- MPMediaPickerController (Apple),
- MPMediaPickerControllerDelegate (Apple),
- UIResponder (Apple),
- UIEvent (Apple),
- UITouch (Apple),
- Acide acétylsalicylique (Wikipedia).