我試圖在單個視圖中顯示兩個視圖控制器。如何在單個視圖中顯示兩個視圖控制器?
我當前視圖控制器類如下所示:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}}
我想要做什麼:
不使用賽格瑞 –
請出示您的代碼試圖 –
我不知道我應該使用 –