FUIResizablePopoverContainer
@MainActor
open class FUIResizablePopoverContainer : UIViewController
A UIViewController containing a tableView of FUIMapLegendItems. This controller is intended to be presented within a UIPopoverPresentationController. It calculates its preferred content size based on the tableView’s content height and tableView’s content width between a maximum and minimum value.
Available in FUIMapLegend:
items: an array ofFUIMapLegendItemthat will be displayed in the tableView.
-
An array of
FUIMapLegendItem. The Items will populate the embeddedUITableView. By default, items are sorted by:- Markers Only
- Markers with Lines
- Polygons
- Lines
Declaration
Swift
@MainActor public var items: [FUIMapLegendItem] { get set } -
Workaround for the compile issue where empty initializer is not accessible in xcframework.
Declaration
Swift
@MainActor required public init() -
Returns the a
CGSizeconsidering the content’s height and the content’s width between the minimum of 150 and maximum of 550. On iPhone, the width is the screen’s width.Declaration
Swift
@MainActor override open var preferredContentSize: CGSize { get set }