The tiled navigation mode is a very important navigation mode. Generally used for simple flat information browsing or tasks. Flat information means that there is no subordinate hierarchical relationship between the information, such as China's cities in Beijing, Shanghai and Harbin is a flat information, and the relationship between Harbin and Heilongjiang Province is subordinate to the hierarchical relationship, hierarchical relationship information can be used in tag navigation and tree-shaped structure navigation.
Introduce tile navigation from one case to the beginning. If I want to develop an iphone based "gallery" application, there are only 3 paintings (the left is Picasso-weeping, the image of Leonardo da Vinci-Mona Lisa, right pictured is Rodin-thinker) included in the application. Because there is no hierarchical relationship between the 3 paintings, they are flat.
Implementation based on split-screen navigation
Based on the split-screen navigation is the main implementation of the tile navigation mode, mainly involved in the controls are: Split-screen control (Uipagecontrol) and ScrollView, the split-screen control is the iOS standard control.
There are two kinds of gestures based on the split-screen navigation, one is to click on the left side (top) or the right (bottom) to achieve the screen, the other is to use the hand on the screen slide to achieve the flip screen. The total number of screens should be limited to 20, and the dots of more than 20 split-screen controls will overflow. In fact, if one application is more than 10 screens, it is not convenient to use the tiled navigation mode based on the split-screen navigation at this time.
Below we adopt the "gallery" application based on the split-screen navigation mode. Use the single View application template to create a project named Pagecontrolnavigation. Drag the ScrollView and Pagecontrol controls to the design interface, place them in the appropriate place, and set the view background to black by properties.