Inherits from UIView
Declared in RCTView.h

Tasks

Properties

accessibilityTapHandler

@property (nonatomic, copy) RCTViewEventHandler accessibilityTapHandler

borderBottomColor

@property (nonatomic, assign) CGColorRef borderBottomColor

borderBottomLeftRadius

@property (nonatomic, assign) CGFloat borderBottomLeftRadius

borderBottomRightRadius

@property (nonatomic, assign) CGFloat borderBottomRightRadius

borderBottomWidth

@property (nonatomic, assign) CGFloat borderBottomWidth

borderColor

@property (nonatomic, assign) CGColorRef borderColor

borderLeftColor

@property (nonatomic, assign) CGColorRef borderLeftColor

borderLeftWidth

@property (nonatomic, assign) CGFloat borderLeftWidth

borderRadius

@property (nonatomic, assign) CGFloat borderRadius
Discussion

Border radii.

Declared In

RCTView.h

borderRightColor

@property (nonatomic, assign) CGColorRef borderRightColor

borderRightWidth

@property (nonatomic, assign) CGFloat borderRightWidth

borderTopColor

@property (nonatomic, assign) CGColorRef borderTopColor
Discussion

Border colors.

Declared In

RCTView.h

borderTopLeftRadius

@property (nonatomic, assign) CGFloat borderTopLeftRadius

borderTopRightRadius

@property (nonatomic, assign) CGFloat borderTopRightRadius

borderTopWidth

@property (nonatomic, assign) CGFloat borderTopWidth
Discussion

Border widths.

Declared In

RCTView.h

borderWidth

@property (nonatomic, assign) CGFloat borderWidth

magicTapHandler

@property (nonatomic, copy) RCTViewEventHandler magicTapHandler

pointerEvents

@property (nonatomic, assign) RCTPointerEvents pointerEvents
Discussion

Used to control how touch events are processed.

Declared In

RCTView.h

removeClippedSubviews

@property (nonatomic, assign) BOOL removeClippedSubviews
Discussion

This is an optimization used to improve performance for large scrolling views with many subviews, such as a list or table. If set to YES, any clipped subviews will be removed from the view hierarchy whenever updateClippedSubviews is called. This would typically be triggered by a scroll event

Declared In

RCTView.h

Class Methods

autoAdjustInsetsForView:withScrollView:updateOffset:

+ (void)autoAdjustInsetsForView:(UIView<RCTAutoInsetsProtocol> *)parentView withScrollView:(UIScrollView *)scrollView updateOffset:(BOOL)updateOffset

contentInsetsForView:

+ (UIEdgeInsets)contentInsetsForView:(UIView *)curView
Discussion

Find the first view controller whose view, or any subview is the specified view.

Declared In

RCTView.h

Instance Methods

updateClippedSubviews

- (void)updateClippedSubviews
Discussion

Hide subviews if they are outside the view bounds. This is an optimisation used predominantly with RKScrollViews but it is applied recursively to all subviews that have removeClippedSubviews set to YES

Declared In

RCTView.h