UIView(SBSDK)

@interface UIView (SBSDK)

Extension of UIView to help with autolayout constraints.

  • Returns an array of constraints to connect the receiver with another view.

    Declaration

    Objective-C

    - (NSArray *_Nullable)sbsdk_constraintsForAnchoringToBoundsOf:
        (UIView *_Nonnull)otherView;

    Swift

    func sbsdk_constraintsForAnchoring(toBoundsOf otherView: UIView) -> [Any]?