ios - Displaying Portrait and Landscape Photos Correctly -


my current table view looks this:

enter image description here

here how constraints laid out in xcode image:

enter image description here

as can see pictures, depending on whether landscape or portrait go beyond designated constraints. portrait pictures, "intrude" address label landscape pictures gets cut off @ left of screen. when picture landscape, picture not cut off on it's left side. , when portrait, not "intrude" address label. there easy auto layout constraint solution problem? if so, please share me? if not, please share programatic solution. thank in advance.

maybe problem contentmode of uiimageview!


Comments