With the 'inputmode' you can hint devices to use a specific keyboard. The virtual keyboard for email input fields contains the possibility for a space while the one for URLs doesn't. This seems weird to me because emails shouldn't contain space characters as well.
Left: virtual keyboard on IOS for URL inputs, Right: virtual keyboard on IOS for email inputs