"What are the apps for identifying spam calls and company names on iPhone?: What apps come with or are on an iPhone when you purchase it that tell you if it is a spam call or tells you the name of the company that is calling you if it is a company"
-------
Blocking Companies:
No app is going to inform you of the caller's name. But, you can block out calls and message through these apps.
Blocking Callers and Messages:
Use Malwarebytes Mobile Security:
The free version blocks popups. The paid version blocks out known spam numbers, lets you add number to the block list, and allows you to report these numbers to the Developer. So, consider using it. Read the following post to see how to use this software: Blocked numbers - Apple Community. Get it Right in the App Store: Malwarebytes - Mobile Security - App Store
and...
Blocking Messages:
Using the App Called Bouncer:
For text messages, there is an app called Bouncer, which block messages out by keywords. But, if these are not text messages, then is would not be an option. Here is the link: Bouncer: Text Messages Blocker 4+ - App Store