#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UIPopoverBackgroundView.h // UIKit // // Copyright (c) 2011-2018 Apple Inc. All rights reserved. // #import #import #import #import #import /* The methods defined below are all to be treated as abstract; in order to subclass `UIPopoverBackgroundView`, you must supply implementations of each of the methods below. For `readwrite` properties, you must supply implementations of both of the accessors. */ @protocol UIPopoverBackgroundViewMethods /* Represents the the length of the base of the arrow's triangle in points. */ + (CGFloat)arrowBase; /* Describes the distance between each edge of the background view and the corresponding edge of its content view (i.e. if it were strictly a rectangle). */ + (UIEdgeInsets)contentViewInsets; + (CGFloat)arrowHeight; @end UIKIT_EXTERN API_AVAILABLE(ios(5.0)) @interface UIPopoverBackgroundView : UIView /* The arrow offset represents how far from the center of the view the center of the arrow should appear. For `UIPopoverArrowDirectionUp` and `UIPopoverArrowDirectionDown`, this is a left-to-right offset; negative is to the left. For `UIPopoverArrowDirectionLeft` and `UIPopoverArrowDirectionRight`, this is a top-to-bottom offset; negative to toward the top. This method is called inside an animation block managed by the `UIPopoverController`. */ @property (nonatomic, readwrite) CGFloat arrowOffset; /* `arrowDirection` manages which direction the popover arrow is pointing. You may be required to change the direction of the arrow while the popover is still visible on-screen. */ @property (nonatomic, readwrite) UIPopoverArrowDirection arrowDirection; /* This method may be overridden to prevent the drawing of the content inset and drop shadow inside the popover. The default implementation of this method returns YES. */ @property(class, nonatomic, readonly) BOOL wantsDefaultContentAppearance API_DEPRECATED("No longer supported", ios(6.0, 13.0)); @end #else #import #endif