Use different images depending on screen orientation in xcode 7.1
<p>I have a view controller which is my main layout and it consist of a stack view which has 5 horizontal image views, When I run my app in portrait mode there is no problem. </p>

<p>but my problem is when I turn the view or orientation to landscape image views are not usable and the picture is not useable for me. I have designed different images for landscape mode and I want to set different images to image views on screen orientation but don't know how. </p>

<p>I don't want to create two sub views and in them load this different image views which some users suggested for this issue.</p>

<p>Any suggestion how to accomplish this ? </p>