There is another question on SO about this but this has nothing to do with it because I think this has to do with a beta version of iOS 11.
I have these 2 UIBu
UIBu
I had the same issue when upgrading to iOS 11.
The size of the UIView containing the buttons were 0x0.
I fixed the height x width of the UIView on Interface Builder and it works after that.