在我的swift应用程序中,我试图让按钮水龙头切换视图控制器。这是我使用的代码:PresentViewController疑难解答
presentViewController(pythTheoremViewController.self, animated: true, completion: nil)
这将返回错误“无法与类型pythTheoremViewController.Type的“)的参数列表,动画调用‘presentViewController’:BOOL,完成:无)
什么这是否意味着,如何解决这个问题?