UgiFooterView Class Reference

Overview

UI object designed for the bottom of the screen, with three buttons.

Instance Methods

(void) - setLeftText:withCompletion:
 
Set the left button title and handler More...
 
(void) - setCenterText:withCompletion:
 
Set the center button title and handler More...
 
(void) - setCenterText:image:withCompletion:
 
Set the center button title, image and handler More...
 
(void) - setRightText:withCompletion:
 
Set the right button title and handler More...
 
(BOOL) - anyButtonsDisplayed
 
See if any of the buttons are displayed More...
 

Properties

BOOL forceHidden
 YES to force the footer to be hidden.
 
UIColor * themeColorOverride
 Override to color in UgiViewController (default = nil)
 
UIColor * buttonColorOverride
 Override to color in UgiViewController (default = nil)
 
UIColor * buttonPressedColorOverride
 Override to color in UgiViewController (default = nil)
 
float buttonSize
 Button size, default is 1.0.
 

Instance Method Documentation

◆ setLeftText:withCompletion:()

- (void) setLeftText: (NSString *_Nullable)  text
withCompletion: (nullable VoidBlock)  completion 


Set the left button title and handler

Parameters
textButton title
completionClick handler

◆ setCenterText:withCompletion:()

- (void) setCenterText: (NSString *_Nullable)  text
withCompletion: (nullable VoidBlock)  completion 


Set the center button title and handler

Parameters
textButton title
completionClick handler

◆ setCenterText:image:withCompletion:()

- (void) setCenterText: (NSString *_Nullable)  text
image: (UIImage *_Nullable)  image
withCompletion: (nullable VoidBlock)  completion 


Set the center button title, image and handler

Parameters
textButton title
imageButton image
completionClick handler

◆ setRightText:withCompletion:()

- (void) setRightText: (NSString *_Nullable)  text
withCompletion: (nullable VoidBlock)  completion 


Set the right button title and handler

Parameters
textButton title
completionClick handler

◆ anyButtonsDisplayed()

- (BOOL) anyButtonsDisplayed


See if any of the buttons are displayed

Returns
YES if any buttons are displayed