I have to show the Name and EmailID aligned horizontally properly with the Profile Image . So that the Name and email ID appears exactlybat the center of the UIImageView.
But you can see the name and email id are not in centre with the profile image. Why is this happening? I have given the following constraints:
Remove leading and trailing Constrain and set align center x to imageView.
You can also set leading and trailing Constrain. but both are equal as follow.