I have tried to fill the
to fill the Image to be shown like a Top Header (logo). But it appears to have a 20px gap at the leading and trailing end.
I have used Leading and trailing constraints
but it shows 20 px gap (padding). If I'm using
for leading and trailing contraints then it works well but the image seems to be stretched.
What should I do to overcome this weird issue?
I have even tried using Equal width contraints with Imageview and Parent View controller View, but still with no success.