Click the Me icon at the top of your LinkedIn homepage, then click View profile.Click Edit public profile & URL on the right side of the page.To hide your profile from public view, toggle Your profile’s public visibility to Off.To hide specific settings, toggle the specific settings to Off to hide that information from your public profile. Changes are saved automatically.
To control your LinkedIn public profile settings from your mobile;
Tap your profile photo.Tap Settings, then Visibility and Edit your public profile.To hide your profile from public view, toggle Your profile’s public visibility to Off.To hide specific settings, toggle the specific settings to Off to hide that information from your public profile. Changes are saved automatically.
See How To Find Recruiters On LinkedIn