【问题标题】:How can I change the background color of blur view while using peek and pop in swift 2.0 iOS如何在 swift 2.0 iOS 中使用 peek 和 pop 时更改模糊视图的背景颜色
【发布时间】:2016-02-07 05:52:00
【问题描述】:
func previewingContext(previewingContext: UIViewControllerPreviewing, viewControllerForLocation location: CGPoint) -> UIViewController? {

     //Getting someId using the location and then I just create a view controller depending onthat id
     return viewControllerForPlayer(someId) //This returns the view controller I am trying to peek
}

模糊视图具有与应用其他部分不同的白色背景色。 问题:是什么决定了 peek and pop 时的模糊背景颜色以及如何更改它

【问题讨论】:

  • 你所说的“peek and pop”是什么意思?
  • Peek and Pop 是从 iPhone 6s 开始推出的新 3D Touch 功能,用户可以通过用力按压快速查看内容,并在喜欢时弹出内容。
  • 这个案子有什么消息吗?
  • @DavidSeek 不,还是找不到。

标签: ios swift 3dtouch uiblureffect


【解决方案1】:

根据谷歌的简要研究,有一些针对 iPhone 的调整可以改变应用程序的模糊颜色以对应其图标色调,但所有这些调整都是针对越狱设备的。所以看起来现在没有声明改变强制触摸模糊颜色的可能性。

【讨论】:

  • 这个案子有什么消息吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-11-18
  • 2018-10-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多