更改弹跳背景 pageViewController
Change bounce background pageViewController
我正在构建一个应用程序,其中包括 pageViewController
并将内部控制器定义如下..等等,whiteout 添加子视图。
storyBoard.instantiateViewControllerWithIdentifier("FirstNavigationController") as! UINavigationController
storyBoard.instantiateViewControllerWithIdentifier("SecondNavigationController") as! UINavigationController
我找不到 属性 将 pageViewController 反弹的背景从例如黑色更改为白色,真的可以吗?
它只是通过在 UIPageViewController
viewDidLoad
方法中设置背景颜色对我有用,然后它改变了背景,包括弹跳:
self.view.backgroundColor = UIColor.whiteColor()
我正在构建一个应用程序,其中包括 pageViewController
并将内部控制器定义如下..等等,whiteout 添加子视图。
storyBoard.instantiateViewControllerWithIdentifier("FirstNavigationController") as! UINavigationController
storyBoard.instantiateViewControllerWithIdentifier("SecondNavigationController") as! UINavigationController
我找不到 属性 将 pageViewController 反弹的背景从例如黑色更改为白色,真的可以吗?
它只是通过在 UIPageViewController
viewDidLoad
方法中设置背景颜色对我有用,然后它改变了背景,包括弹跳:
self.view.backgroundColor = UIColor.whiteColor()