present UIViewController crash

如果将被显示的UIViewController加到自己的children后,再present会crash哦

//self.addChild(vc)
self.present(vc, animated: true, completion: nil)

你可能感兴趣的:(present UIViewController crash)