Skip to content

Commit 90cf034

Browse files
Exposing the UIView for accessoryTypeView in TableViewCell (#1800)
1 parent 1d9c38b commit 90cf034

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ios/FluentUI/Table View/TableViewCell.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,12 @@ open class TableViewCell: UITableViewCell, TokenizedControlInternal {
13871387
setNeedsLayout()
13881388
invalidateIntrinsicContentSize()
13891389
}
1390+
1391+
/// Returns the UIView of the `accessoryView`.
1392+
@objc open func getAccessoryView() -> UIView? {
1393+
return accessoryTypeView
1394+
}
1395+
13901396
/// Allows to change the accessory type without doing a full `setup`.
13911397
@objc open func changeAccessoryType(to accessoryType: TableViewCellAccessoryType) {
13921398
_accessoryType = accessoryType

0 commit comments

Comments
 (0)