I set constraints for tabar but its image and title is showing like this only on iPhone X. Also, it is working properly on other devices like the 8, 6, and 5 series. It is not in proper format, Please suggest what I can do for it.
I tend to use the view inspector to look at the frames to see what is going on. It looks like you might be doing something at the wrong time in the views life cycle. So that objects have not had time to layout.
You could also try moving the tab bar up one pixel like Uday said.
Last tip when dealing with view issues. Make sure to delete the app from the simulator on say the iPhone 8. As well as Derived Data. I have spent a lot of time trying to diagnose an issue. Only to find out I was looking at a cached storyboard.