         
     }
     
+    /**
+     获取子控制器VC的名字string
+     */
+    func loadVCName()  {
+        let path = NSBundle.mainBundle()
+        
+    }
     
     /**
      添加tabBar中间button

     - parameter imageName:            tabbarItem图片名
     - parameter highlightedImageName: tabbarItem高亮图片名
     */
    func addChildVC(childVC:UIViewController,
                    title:String,
                    imageName:String,
                    highlightedImageName:String){
        //设置页面
        childVC.title = title
        childVC.tabBarItem.image = UIImage(named: imageName)
        childVC.tabBarItem.selectedImage = UIImage(named: highlightedImageName)
        
        //添加导航栏
        let navVC = UINavigationController()
        navVC.addChildViewController(childVC)

    override func viewDidLoad() {
        super.viewDidLoad()
        
        loadVCName()
        self.tabBar.tintColor = UIColor.orangeColor()
        addChildVC()
        
