- iOS Development with Xamarin Cookbook
- Dimitris Tavlikos
- 180字
- 2021-07-16 11:45:09
Introduction
So far, we have discussed views and how to use them. In most cases of real world app scenarios, views alone are not enough. Apple provides another base class, the UIViewController
class, which is responsible for managing views. A view controller can respond to device notifications, such as when the device rotates, or can provide different ways to display and dismiss multiple views or even other view controllers. There are a number of view controllers available for us to use. In this chapter, we will discuss the most important ones.
These view controllers are as follows:
- UIViewController: This is the base class of all view controllers.
- UINavigationController: This is the view controller that provides various ways of navigating through different view controllers.
- UITabBarController: This is a view controller that displays multiple view controllers in a tab-like interface.
- iPad-specific view controllers: These are the view controllers that only apply to the iPad device.
Furthermore, we will learn how to create our own custom view controllers, and we will create an app whose user interface will be created with storyboard files.
推薦閱讀
- 程序員修煉之道:程序設(shè)計入門30講
- Building a Home Security System with Raspberry Pi
- Instant Apache Stanbol
- Instant Zepto.js
- Python Game Programming By Example
- 你必須知道的204個Visual C++開發(fā)問題
- Unity 5 for Android Essentials
- Hands-On Full Stack Development with Go
- Learning Raspbian
- Canvas Cookbook
- Building Serverless Architectures
- Android應(yīng)用開發(fā)深入學習實錄
- Qlik Sense? Cookbook
- AV1視頻編解碼標準:原理與算法實現(xiàn)
- Photoshop CC移動UI設(shè)計案例教程(全彩慕課版·第2版)