FUIResizablePopoverContainer
open class FUIResizablePopoverContainer : UIViewController
A UIViewController
containing a tableView of FUIMapLegendItem
s. 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 ofFUIMapLegendItem
that 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
public var items: [FUIMapLegendItem] { get set }
-
Workaround for the compile issue where empty initializer is not accessible in xcframework.
Declaration
Swift
required public init()
-
Returns the a
CGSize
considering 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
override open var preferredContentSize: CGSize { get set }