Why are my xib file constraints not working on the simulator?

I was originally building my app and simulating it on an iPhone 11 and it looks fine. However, when I switched to a different model like the iPhone 8 or iPod, the text and the entire table cell extends beyond the borders of the phone. I don't think this is an issue with the constraints of my text and buttons since I centered these items and they are not centered on the simulator. It seems the width of the UITable cell is larger than the width of the phone screen size. Does anyone know how to fix this? Thanks!



Could you show (screen shot) the constraints you defined for Bill Title and Bill Summary ?

Have you defined trailing constraints relative to their superview, with value of 5 for instance ?

I see trailing for text stack, but it is not clear what test stack is.