当我执行UIModalTransitionStyleFlipHorizontal时,我希望从多任务菜单或在Safari中拖动页面外部时看到bg图像。这是Apple提供的东西吗?
答案 0 :(得分:4)
排序,是的。看看这些UIColor
方法:
+ groupTableViewBackgroundColor
+ viewFlipsideBackgroundColor
+ scrollViewTexturedBackgroundColor
+ underPageBackgroundColor
您可以使用它们来设置背景“颜色”,这些颜色实际上是图案图像颜色。除了那些之外没有别的东西提供(据我所知)。
例如(感谢@JonRamvi):
window.backgroundColor = [UIColor scrollViewTexturedBackgroundColor];
答案 1 :(得分:0)
交叉影线背景颜色可用作scrollViewTexturedBackgroundColor,UIColor上的类方法。如果你想在模态转换期间看到我认为你应该将app委托中的apps窗口的backgroundColor设置为这种颜色