Package apple.uikit.protocol
Interface UILargeContentViewerInteractionDelegate
-
public interface UILargeContentViewerInteractionDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidlargeContentViewerInteractionDidEndOnItemAtPoint(UILargeContentViewerInteraction interaction, UILargeContentViewerItem item, CGPoint point)Performs an action when the large content viewer gesture ends at the location of the given item.default UILargeContentViewerItemlargeContentViewerInteractionItemAtPoint(UILargeContentViewerInteraction interaction, CGPoint point)Returns the item at a given point in the interaction's view's coordinate system.default UIViewControllerviewControllerForLargeContentViewerInteraction(UILargeContentViewerInteraction interaction)Returns the view controller whose region of the screen should be used to display the large content viewer.
-
-
-
Method Detail
-
largeContentViewerInteractionDidEndOnItemAtPoint
default void largeContentViewerInteractionDidEndOnItemAtPoint(UILargeContentViewerInteraction interaction, UILargeContentViewerItem item, CGPoint point)
Performs an action when the large content viewer gesture ends at the location of the given item. (The point in the interaction's view's coordinate system is also provided.) For example, you may wish to perform the action that would have occurred if the user had tapped on that item. If this is not implemented and the gesture ends at the location of a UIControl object, it will send a UIControlEventTouchUpInside event. This method is called only if the gesture ends successfully (not if it fails or gets canceled).
-
largeContentViewerInteractionItemAtPoint
default UILargeContentViewerItem largeContentViewerInteractionItemAtPoint(UILargeContentViewerInteraction interaction, CGPoint point)
Returns the item at a given point in the interaction's view's coordinate system. If this is not implemented, -[UIView pointInside:withEvent:] will be called recursively on the interaction's view to find an appropriate view.
-
viewControllerForLargeContentViewerInteraction
default UIViewController viewControllerForLargeContentViewerInteraction(UILargeContentViewerInteraction interaction)
Returns the view controller whose region of the screen should be used to display the large content viewer. If this is not implemented, a view controller that contains the interaction's view will be chosen.
-
-