In Xcode select the menu item Debug / View Debugging / Show View Frames and the simulator will show the frames of the view in the user interface.