Search code examples
swiftuitableviewuiimageviewaccessorydisclosure

Set ImageView to full width in TableViewCell behind Disclosure indicator


I'm wondering if there is a way to set an ImageView in a TableViewCell to full screen width even behind the accessory? I would like to keep the indicator to be consistent with the other cells I have. If not is there any workaround?

Thank you!

enter image description here


Solution

  • I solved it now with a custom disclosure indicator. So with hiding the entire accessory view and placing the icon on top of the full width UIImageView like in the image below.

    enter image description here