Interface UIViewControllerPreviewingDelegate


  • public interface UIViewControllerPreviewingDelegate
    API-Since: 9.0
    • Method Detail

      • previewingContextCommitViewController

        @Deprecated
        void previewingContextCommitViewController​(@NotNull
                                                   @NotNull UIViewControllerPreviewing previewingContext,
                                                   @NotNull
                                                   @NotNull UIViewController viewControllerToCommit)
        Deprecated.
        API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
      • previewingContextViewControllerForLocation

        @Nullable
        @Deprecated
        @Nullable UIViewController previewingContextViewControllerForLocation​(@NotNull
                                                                              @NotNull UIViewControllerPreviewing previewingContext,
                                                                              CGPoint location)
        Deprecated.
        If you return nil, a preview presentation will not be performed API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.