Ios Swift UIModalPresentationStyle.PageSheet

Ios Swift UIModalPresentationStyle.PageSheet,ios,swift,Ios,Swift,我正在使用UIModalPresentationStyle.PageSheet显示一些HTML内容。但滚动视图不会出现 let uiNavController : UINavigationController = UINavigationController(rootViewController: MyHtmlClass) navController.modalPresentationStyle = UIModalPresentationStyle.PageSheet prese

我正在使用UIModalPresentationStyle.PageSheet显示一些HTML内容。但滚动视图不会出现

let uiNavController : UINavigationController = UINavigationController(rootViewController: MyHtmlClass)
    navController.modalPresentationStyle = UIModalPresentationStyle.PageSheet
    presentViewController(uiNavController, animated: true, completion: nil)

是否可以显示滚动视图?

您将
UINavigationController
定义为
uiNavController
,然后设置
navController
modalPresentationStyle
。替换这个

uiNavController.modalPresentationStyle = .PageSheet

我替换了它,但滚动条看起来不象你们想在iPhone上演示的样子?我想在iPad上演示