// Do any additional setup after loading the view, typically from a nib. lb_msg.text = self.view.bounds.width.description var width = self.view.bounds.width.description var height = self.view.bounds.height.description var fwidth = (width as NSString).floatValue var fheight = (height as NSString).floatValue//屏幕高度
let sizew:CGFloat = CGFloat(fwidth/2) let posy:CGFloat = CGFloat(fheight-40)
let sizewebview:CGFloat = CGFloat(fwidth) let posywebview:CGFloat = CGFloat(fheight-60)
let NVC :UINavigationController = UINavigationController(rootViewController: rootVC) NVC.setNavigationBarHidden(true, animated: true)
self.presentViewController(NVC, animated: true, completion: nil) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. }