Other Structures
The following structures are available globally.
-
This
FUIStatusBarStyleHelper
is to help the application developer set the status bar style on iOS devices. This is needed since iOS does not provide an API to directly manipulate the status bar style and some of the SAPFiori UI components need to have specific status bar style.The
statusBarStyle
ofFUIStatusBarStyleHelper
will be set by the SAPFiori UI components which need to have the specific style. Application should overrideUINavigationController
‘spreferredStatusBarStyle
property similar to the code below to apply the status bar style to the application.
See moreextension UINavigationController { open override var preferredStatusBarStyle: UIStatusBarStyle { if let statusBarStyle = FUIStatusBarStyleHelper.statusBarStyle { return statusBarStyle } return navigationBar.barStyle == .default ? .default : .lightContent } }
Declaration
Swift
public struct FUIStatusBarStyleHelper
-
Available collection cell size types.
Available:
.small
: maximum width of 110 points.standard
: maximum width of 120 points
Declaration
Swift
public struct FUICollectionCellSize : Equatable