Sunlight is the source of vitamin D, to prevent skin damage, sunscreen is applied. Myth says sunscreen causing vitamin D deficiency, is it true?

Sunlight is the source of vitamin D, to prevent skin damage, sunscreen is applied. Myth says sunscreen causing vitamin D deficiency, is it true?