Currently I'm trying to create storyboard layout for a UITableViewCell with picture shown below. The blue views are UIButtons while the green views are UIImageViews.
The layout for blue buttons was okay, with an "align to horizontal center in container" , a few "equal width", and some other constraints. But I'm not sure what constraints to put on the image views so that they can be aligned correctly. The desired outcome is the widths of the buttons shrink on smaller devices, and the image views are always centered on the buttons.
I tried dragging the image view inside the buttons, but storyboard doesn't allow that.