//
// SecondSubViewController.swift
// TabBarViewControllerProject
//
// Created by 董黎伟 on 2018/7/11.
// Copyright © 2018年 董黎伟. All rights reserved.
//
import UIKit
class SecondSubViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.title = "Item #2"
// 设置当前视图控制器,在选项卡视图控制器中的标题
// 设置当前视图控制器的选项卡图标
self.view.backgroundColor = UIColor.purple
// 设置当前视图控制器的背景色为紫色
// Do any additional setup after loading the view.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}