UIView(SINUIViewFullscreenAdditions) Category Reference
Declared in | SINUIView+Fullscreen.h |
---|
Overview
SINUIViewFullscreenAdditions are helper methods (implemented as Objective-C category methods) to make views go to full screen mode (and back to it’s previous state)
– sin_isFullscreen
YES if view is in full screen mode or is about to be (in animation transition).
- (BOOL)sin_isFullscreen
Return Value
YES if view is in full screen mode or is about to be (in animation transition).
Declared In
SINUIView+Fullscreen.h
– sin_enableFullscreen:
Make view go into full screen mode.
- (void)sin_enableFullscreen:(BOOL)animated
Discussion
The view will be moved out of it’s current place in the view hierarchy and will be added as a subview directly in the main UIWindow.
Declared In
SINUIView+Fullscreen.h
– sin_disableFullscreen:
Make view go back to it’s original state before full screen mode was enabled.
- (void)sin_disableFullscreen:(BOOL)animated
Discussion
The view will be moved back to it’s original superview, and it’s original frame will be restored.
Declared In
SINUIView+Fullscreen.h