UIView(Extensions) Category Reference
Declared in | UIView+Extensions.h |
---|
– removeAllAnimations:
Cancels all animations on this view and if specified, it’s subviews too.
- (void)removeAllAnimations:(BOOL)includingSubviews
Parameters
includingSubviews |
Whether or not to cancel the animations on all descendent views too. |
---|
Discussion
Cancels all animations on this view and if specified, it’s subviews too.
Declared In
UIView+Extensions.h
– snapshotOfRect:
Gets a snapshot of the given frame of this UIView
.
- (UIImage *)snapshotOfRect:(CGRect)rect
Parameters
rect |
The frame of the |
---|
Return Value
The snapshot UIImage
object.
Discussion
Gets a snapshot of the given frame of this UIView
.
Declared In
UIView+Extensions.h
– statusBarFrame
Gets the absolute frame of the status bar.
- (CGRect)statusBarFrame
Return Value
The CGRect
frame value.
Discussion
Gets the absolute frame of the status bar.
Declared In
UIView+Extensions.h
– keyboardFrame
Gets the absolute frame of the keyboard.
- (CGRect)keyboardFrame
Return Value
The CGRect
frame value.
Discussion
Gets the absolute frame of the keyboard.
Declared In
UIView+Extensions.h
– insetsForStatusBar
The absolute insets that would avoid the status bar.
- (UIEdgeInsets)insetsForStatusBar
Return Value
The UIEdgeInsets
insets value.
Discussion
The absolute insets that would avoid the status bar.
Declared In
UIView+Extensions.h
– insetsForKeyboard
The absolute insets that would avoid the keyboard.
- (UIEdgeInsets)insetsForKeyboard
Return Value
The UIEdgeInsets
insets value.
Discussion
The absolute insets that would avoid the keyboard.
Declared In
UIView+Extensions.h
– insetsForStatusBarAndKeyboard
The absolute insets that would avoid both the status bar and keyboard.
- (UIEdgeInsets)insetsForStatusBarAndKeyboard
Return Value
The UIEdgeInsets
insets value.
Discussion
The absolute insets that would avoid both the status bar and keyboard.
Declared In
UIView+Extensions.h
– statusBarFrameInView
Gets the frame in this UIView
that the status bar occupies.
- (CGRect)statusBarFrameInView
Return Value
The CGRect
frame value.
Discussion
Gets the frame in this UIView
that the status bar occupies.
Declared In
UIView+Extensions.h
– keyboardFrameInView
Gets the frame in this UIView
that the keyboard occupies.
- (CGRect)keyboardFrameInView
Return Value
The CGRect
frame value.
Discussion
Gets the frame in this UIView
that the keyboard occupies.
Declared In
UIView+Extensions.h
– insetsForStatusBarInView
The insets in the bounds of this UIView
to avoid the space in this view
that the status bar occupies.
- (UIEdgeInsets)insetsForStatusBarInView
Return Value
The UIEdgeInsets
insets value.
Discussion
The insets in the bounds of this UIView
to avoid the space in this view
that the status bar occupies.
Declared In
UIView+Extensions.h
– insetsForKeyboardInView
The insets in the bounds of this UIView
to avoid the space in this view
that the keyboard occupies.
- (UIEdgeInsets)insetsForKeyboardInView
Return Value
The UIEdgeInsets
insets value.
Discussion
The insets in the bounds of this UIView
to avoid the space in this view
that the keyboard occupies.
Declared In
UIView+Extensions.h
– insetsForStatusBarAndKeyboardInView
The insets in the bounds of this UIView
to avoid the space in this view
that both the status bar and keyboard occupy.
- (UIEdgeInsets)insetsForStatusBarAndKeyboardInView
Return Value
The UIEdgeInsets
insets value.
Discussion
The insets in the bounds of this UIView
to avoid the space in this view
that both the status bar and keyboard occupy.
Declared In
UIView+Extensions.h