Interface UIViewControllerPreviewing


  • public interface UIViewControllerPreviewing
    • Method Detail

      • previewingGestureRecognizerForFailureRelationship

        UIGestureRecognizer previewingGestureRecognizerForFailureRelationship()
        This gesture can be used to cause the previewing presentation to wait until one of your gestures fails or to allow simultaneous recognition during the initial phase of the preview presentation.
      • setSourceRect

        void setSourceRect​(CGRect value)
        This rect will be set to the bounds of sourceView before each call to -previewingContext:viewControllerForLocation:
      • sourceRect

        CGRect sourceRect()
        This rect will be set to the bounds of sourceView before each call to -previewingContext:viewControllerForLocation:
      • sourceView

        UIView sourceView()