Is there a way to know whether a UIViewController is currently being presented as a Peek Preview from a 3D touch? I don't want to create a completely new view controller but I would like to remove some controls that don't make sense when peeking.
The only thing I found out so far is only when the view controller is presented in "peek mode" the _modalSourceViewController property is not nil, but I don't know if I can trust that or how I can get to that property.